| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Now there's only two meaningful instances left in core.
|
| |\
| |
| | |
service: Eliminate usages of the global system instance
|
| | |
| |
| |
| |
| | |
Completely removes all usages of the global system instance within the
services code by passing in the using system instance to the services.
|
| |/ |
|
| |\
| |
| | |
nvdrv, video_core: Don't index out of bounds when given invalid syncpoint ID
|
| | |
| |
| |
| |
| |
| |
| |
| | |
- Use .at() instead of raw indexing when dealing with untrusted indices.
- For the special case of WaitFence with syncpoint id UINT32_MAX,
instead of crashing, log an error and ignore. This is what I get when
running Super Mario Maker 2.
|
| |\ \
| | |
| | | |
nvservices: Reintroducee IoctlCtrl
|
| | | |
| | |
| | |
| | | |
Fixes regression caused by #4907 which caused games like Breath of the Wild 1.0.0 not to boot.
|
| | | |
| | |
| | |
| | |
| | | |
error: unknown warning option '-Werror=unused-but-set-parameter'; did you mean '-Werror=unused-parameter'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Werror=unused-but-set-variable'; did you mean '-Werror=unused-const-variable'? [-Werror,-Wunknown-warning-option]
|
| |\ \ \
| | | |
| | | | |
Overhaul EmuWindow::PollEvents to fix yuzu-cmd calling SDL_PollEvents off main thread
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |\ \ \
| | | |
| | | | |
renderer_vulkan: Implement alpha testing
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc>
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
Used by various textures in many titles, e.g. SSBU menu.
|
| |\ \ \ \
| | | | |
| | | | | |
configure_input_player: Use the NpadStyleSet to limit the available controllers shown
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This will reduce the likelihood of an invalid controller type to be set within a game
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
audren: Make use of nodiscard, rework downmixing, release all buffers
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
| |\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
core: cpu_manager: Fix shutdown crash when closing before emulation starts.
|
| | | | | | | |
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Allow to dial any angle with digital joystick
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- This is used by Super Mario 3D All-Stars.
|
| | |/ / / / /
|/| | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* hle: services: Fix a crash with improper NVFlinger lifetime management.
- This crash would happen when attempting to shutdown yuzu early on in boot.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
decoder/image: Fix incorrect G24R8 component sizes in GetComponentSize()
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The components' sizes were mismatched. This corrects that.
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
core: Make use of [[nodiscard]] with the System class
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
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.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
svc: Remove unnecessary [[maybe_unused]] tag
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
The parameter is used in this function, so this suppression isn't
necessary.
|
| | | | | | | | | | |
|
| | |_|_|_|_|_|_|/
|/| | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | | |
Fixes build break due to #4927
|
| |\ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/
|/| | | | | | | |
input_common: Treat warnings as errors
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Migrates over warnings as errors for input common to match how the
common library treats warnings as errors.
|
| |\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
logging/settings: Increase maximum log size to 100 MB and add extended logging option
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
logging option
The extended logging option is automatically disabled on boot but can be enabled afterwards, allowing the log file to go up to 1 GB during that session.
This commit also fixes a few errors that are present in the general debug menu.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
patch_manager: Remove usages of the global system instance
|
| | | |_|/ / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
With this, only 19 usages of the global system instance remain within
the core library.
We're almost there.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
gl_rasterizer: Make floating-point literal a float
|
| | | |_|/ / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | | |
Gets rid of an unnecessary expansion from float to double.
|