Age | Commit message (Collapse) | Author |
|
* IOFile: Make the move constructor and move assignment operator noexcept
Certain parts of the standard library try to determine whether or not a
transfer operation should either be a copy or a move. The prevalent notion
of move constructors/assignment operators is that they should not throw,
they simply move an already existing resource somewhere else.
This is typically done with 'std::move_if_noexcept'. Like the name says,
if a type's move constructor is noexcept, then the functions retrieves an
r-value reference (for move semantics), or an l-value (for copy semantics)
if it is not noexcept.
As IOFile deletes the copy constructor and copy assignment operators,
using IOFile with certain parts of the standard library can fail in
unexcepted ways (especially when used with various container
implementations). This prevents that.
* fix various instances of -1 being assigned to unsigned types
* do not assign in conditional statements
* File/IOFile: Check _tfopen_s properly
* common/file_util.cpp: address review comments
Co-authored-by: Lioncash <mathew1800@gmail.com>
Co-authored-by: Shawn Hoffman <godisgovernment@gmail.com>
Co-authored-by: Sepalani <sepalani@hotmail.fr>
|
|
engines/const_buffer_engine_interface: Store image format and types
|
|
This information is required to properly implement SULD.B. It might also
be handy for all image operations, since it would allow us to implement
them on devices that require the image format to be specified (on
desktop, this would be AMD on OpenGL and Intel on OpenGL and Vulkan).
|
|
|
|
yuzu: Remove exit lock for game pausing
|
|
xmad: fix clang build error
|
|
gl_shader_decompiler: Implement legacy varyings
|
|
Port citra-emu/citra#5106: "gdbstub: Ensure gdbstub doesn't drop packets crucial to initialization"
|
|
gl_rasterizer: Use transformed viewport for depth ranges
|
|
Implement MME shadow RAM
|
|
This increases the PointerBufferSize as a lager one is required by some services.
This change is still not hw-accurate, but it is proven to work in Ryujinx.
Instead of using a hardcoded size, we should figure out the specific values for each service in the future. Some of them can be taken from Atmosphere: https://github.com/Atmosphere-NX/Atmosphere/search?q=PointerBufferSize.
|
|
|
|
core/web_browser: Allow WebApplet to exit gracefully when an error occurs
|
|
(@fincs)
|
|
Currently, yuzu just freezes when an error occurs while Initializing the WebApplet.
From a user perspective, this obviously isn't great as the game just softlocks.
With this change, yuzu will call the Finalize method, so to the game it seems like as the user just exited the WebApplet normally.
This works around https://github.com/yuzu-emu/yuzu/issues/2852.
|
|
|
|
|
|
Implement depth ranges using the transformed viewport instead of the
generic one. This matches the current Vulkan implementation but doesn't
support negative depth ranges. An update to glad is required for this.
|
|
|
|
|
|
|
|
|
|
|
|
set: implement GetRegionCode
|
|
input_common/udp: Fix Linux build by using a backwards compatible way of error checking
|
|
bcat: Disable Boxcat backend by default
|
|
shader_decode: implement XMAD mode CSfu
|
|
|
|
yuzu: Save sound output mode and set it to Stereo by default
|
|
video_core: Silence misc warnings
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
There were cases where raw_data didn't contain enough
space to hold the zero terminator.
This was caught with -fsanitize=address.
|
|
|
|
|
|
|
|
DirtyFlags: relax need to set render_targets as dirty
|
|
astc: General changes and optimizations
|
|
vk_rasterizer: Implement scissor clears and layered clears
|
|
maxwell_to_vk: Implement RG32 and RGB32 integer vertex formats
|
|
|
|
gl_shader_decompiler: Add layer component to texelFetch
|
|
This commit disables the Boxcat backend by default for new users of yuzu.
There's several reasons as to why this is done:
1. Boxcat currently only actually has an impact on 3 games and doesn't influence any core mechanics of them
2. It causes a plethora of issues when enabled such as games like Crash Team Racing, Diablo 3 and Tales of Vesperia not booting at all or hanging
3. It causes https://github.com/yuzu-emu/yuzu/issues/2957 to happen. This makes the configuration menu totally unusable for many Linux users of yuzu
I think those points show that currently the negative impact of Boxcat outweighs its benefits and should therefore be disabled by default.
For users who are eager to use the extra features provided by it, they can still just turn it on in the settings.
|
|
error checking
Should fix https://github.com/yuzu-emu/yuzu/issues/3487.
error_code::failed is a function which has been introduced in Boost 1.69.
This version of boost hasn't landed in most major distros yet.
|