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).
|
|
maxwell_to_vk: implement signedscaled vertex formats
|
|
|
|
yuzu: Remove exit lock for game pausing
|
|
Minor Readme Changes
|
|
Use the correct directory for Qt Plugins
|
|
xmad: fix clang build error
|
|
gl_shader_decompiler: Implement legacy varyings
|
|
|
|
Added Discord shield and direct link to contribution guide
|
|
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
|
|
sm/controller: Increase PointerBufferSize
|
|
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
|
|
time_zone_content_manager: Fix out of bounds read
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
There were cases where raw_data didn't contain enough
space to hold the zero terminator.
This was caught with -fsanitize=address.
|
|
astc/input_common: Fix clang build issues
|
|
|