| Age | Commit message (Collapse) | Author |
|
tests: Fix warning about comparison between signed and unsigned
|
|
core: Reduce string copies in GetGameFileFromPath()
|
|
CMakeLists: disable -Winvalid-offsetof
|
|
This Clang warning complains when offsetof is used on a
non-standard-layout type (i.e. any class using various C++ features),
even though it works fine (and is not undefined behavior as of C++17).
|
|
|
|
Removes all remaining usages of the global system instance. After this,
migration can begin to migrate to being constructed and managed entirely
by the various frontends.
|
|
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.
|
|
|
|
Force early fragment tests when the 3D method is enabled.
The established pipeline cache takes care of recompiling if needed.
This is implemented only on Vulkan to avoid invalidating the shader
cache on OpenGL.
|
|
Eliminates some minor string churn where applicable. Also eliminates an
unnecessary vector copy.
|
|
Workaround for ZLA, which seems to decode and queue twice as many frames as it displays.
|
|
nvdrv, video_core: Don't index out of bounds when given invalid syncpoint ID
|
|
|
|
nvservices: Reintroducee IoctlCtrl
|
|
|
|
remove some redundant moves, make deleter match naming guidelines.
Co-Authored-By: LC <712067+lioncash@users.noreply.github.com>
|
|
Add an equivalent to 'Common::AlignUp(n, d) / d' and a log2 alternative.
|
|
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
|
|
|
|
renderer_vulkan: Implement alpha testing
|
|
|
|
configure_input_player: Use the NpadStyleSet to limit the available controllers shown
|
|
audren: Make use of nodiscard, rework downmixing, release all buffers
|
|
|
|
core: cpu_manager: Fix shutdown crash when closing before emulation starts.
|
|
Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc>
|
|
|
|
Used by various textures in many titles, e.g. SSBU menu.
|
|
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.
|
|
- 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.
|
|
decoder/image: Fix incorrect G24R8 component sizes in GetComponentSize()
|
|
core: Make use of [[nodiscard]] with the System class
|
|
svc: Remove unnecessary [[maybe_unused]] tag
|
|
|
|
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.
|