| Age | Commit message (Collapse) | Author |
|
Fixes regression caused by #4907 which caused games like Breath of the Wild 1.0.0 not to boot.
|
|
|
|
Fixes build break due to #4927
|
|
input_common: Treat warnings as errors
|
|
main thread
EmuWindow::PollEvents was called from the GPU thread (or the CPU thread
in sync-GPU mode) when swapping buffers. It had three implementations:
- In GRenderWindow, it didn't actually poll events, just set a flag and
emit a signal to indicate that a frame was displayed.
- In EmuWindow_SDL2_Hide, it did nothing.
- In EmuWindow_SDL2, it did call SDL_PollEvents, but this is wrong
because SDL_PollEvents is supposed to be called on the thread that set
up video - in this case, the main thread, which was sleeping in a
busyloop (regardless of whether sync-GPU was enabled). On macOS this
causes a crash.
To fix this:
- Rename EmuWindow::PollEvents to OnFrameDisplayed, and give it a
default implementation that does nothing.
- In EmuWindow_SDL2, do not override OnFrameDisplayed, but instead have
the main thread call SDL_WaitEvent in a loop.
|
|
logging/settings: Increase maximum log size to 100 MB and add extended logging option
|
|
The parameter is used in this function, so this suppression isn't
necessary.
|
|
Migrates over warnings as errors for input common to match how the
common library treats warnings as errors.
|
|
patch_manager: Remove usages of the global system instance
|
|
gl_rasterizer: Make floating-point literal a float
|
|
async_shaders: std::move data within QueueVulkanShader()
|
|
core: Make nvservices more standardized
|
|
|
|
This will reduce the likelihood of an invalid controller type to be set within a game
|
|
gl_rasterizer: Remove warning of untested alpha test
|
|
Alpha test has been proven to only affect the first render target.
|
|
shader_bytecode: Eliminate variable shadowing
|
|
hle: service: Stub OLSC Initialize and SetSaveDataBackupSettingEnabled functions.
|
|
|
|
Same behavior, but constructs the threads in place instead of moving
them.
|
|
This is equivalent to moving all the contents and then clearing the
vector. This avoids a redundant allocation.
|
|
|
|
Same behavior, but avoids redundant copies.
While we're at it, we can simplify the pushing of the parameters into
the pending queue.
|
|
Gets rid of an unnecessary expansion from float to double.
|
|
Ensures that all queried values are made use of.
|
|
|
|
configure_input_player: Use static qualifier for IsProfileNameValid()
|
|
Modify rumble amplification
|
|
common/bit_cast: Add function matching std::bit_cast without constexpr
|
|
maxwell_3d: Move code to separate functions and insert instead of push_back
|
|
Add a std::bit_cast-like function archiving the same runtime results as
the standard function, without compile time support.
This allows us to use bit_cast while we wait for compiler support, it
can be trivially replaced in the future.
|
|
functions.
- Used by Animal Cross: New Horizons v1.6.0 update, minimal stub gets this update working.
|
|
|
|
Prevents us from churning memory by freeing and reallocating a memory
block that would have already been adequate as is.
|
|
page_table: Allow page tables to be moved
|
|
With this, only 19 usages of the global system instance remain within
the core library.
We're almost there.
|
|
This isn't used, so it can be removed.
|
|
Given this is a central class, we should flag cases where the return
value of some functions not being used is likely a bug.
|
|
This is a static member function, so we don't need use an existing
instance to call this function.
|
|
Project Mjölnir: Part 3 - Controller Profiles and Vibration Rework
|
|
VirtualBuffer makes use of VirtualAlloc (on Windows) and mmap() (on
other platforms). Neither of these ensure that non-trivial objects are
properly constructed in the allocated memory.
To prevent potential undefined behavior occurring due to that, we can
add a static assert to loudly complain about cases where that is done.
|
|
Makes page tables and virtual buffers able to be moved, but not copied,
making the interface more flexible.
Previously, with the destructor specified, but no move assignment or
constructor specified, they wouldn't be implicitly generated.
|
|
Resolves two -Wdocumentation warnings.
|
|
Prevents indirect inclusions for these headers.
|
|
|
|
|
|
|
|
motion_input: Mark member functions as [[nodiscard]] where applicable
|
|
|
|
Preliminary work for upmixing & general cleanup. Fixes basic issues in games such as Shovel Knight and slightly improves the LEGO games. Upmixing stitll needs to be implemented.
Audio levels in a few games will be fixed as we now use the downmix coefficients when possible instead of supplying our own
|