- 13 Aug, 2021 3 commits
-
-
yzct12345 authored
This implements backtraces so we don't have to tell users how to use gdb anymore. This prints a backtrace after abort or segfault is detected. It also fixes the log getting cut off with the last line containing only a bracket. This change lets us know what caused a crash not just what happened the few seconds before it. I only know how to add support for Linux with GCC. Also this doesn't work outside of C/C++ such as in dynarmic or certain parts of graphics drivers. The good thing is that it'll try and just crash again but the stack frames are still there so the core dump will work just like before.
-
yzct12345 authored
This simplifies the logging system. This also fixes some lost messages on startup. The simplification is simple. I removed unused functions and moved most things in the .h to the .cpp. I replaced the unnecessary linked list with its contents laid out as three member variables. Anything that went through the linked list now directly accesses the backends. Generic functions are replaced with those for each specific use case and there aren't many. This change increases coupling but we gain back more KISS and encapsulation. With those changes it was easy to make it thread-safe. I just removed the mutex and turned a boolean atomic. I was planning to use this thread-safety in my next PR about stacktraces. It was actually async-signal-safety at first but I ended up using a different approach. Anyway getting rid of the linked list is important for that because have the list of backends constantly changing complicates things.
-
bunnei authored
input_common: Disable sdl raw input mode
-
- 12 Aug, 2021 3 commits
- 11 Aug, 2021 4 commits
-
-
Mai M authored
settings: Fix MSVC issues
-
lat9nq authored
According to https://stackoverflow.com/questions/469508, we run into a MSVC bug (since VS 2005) when using diamond inheritance for RangedSetting. This explicitly implements those functions in RangedSetting. GetValue is implemented as just calling the inherited version. The explicit converson operator is reimplemented. I opted for this over ignoring the warning with a pragma since this specifies the inherited behavior, and I have now less faith in MSVC to pick the right one. In addition, we mark destructors as virtual to silence what I believe is a fair MSVC compilation error.
-
bunnei authored
settings: Implement settings ranges
-
german77 authored
-
- 10 Aug, 2021 4 commits
-
-
Fernando S authored
texture_cache: Split out template definitions
-
Ameer J authored
main: Avoid stopping emulation when taking a screenshot
-
ameerj authored
Silences a sws_scale runtime warning about unaligned strides.
-
bunnei authored
memory: Clean up code
-
- 09 Aug, 2021 1 commit
-
-
bunnei authored
configure_general: Swap positions of speed limit and frame limit options
-
- 08 Aug, 2021 11 commits
-
-
Mai M authored
vp9: Ensure the first frame is complete
-
bunnei authored
yuzu-cmd/CMakeLists: Correct attribution for this function.
-
Fernando Sahmkow authored
-
ameerj authored
Silences a runtime error due to the first frame missing the frame data, and being set to hidden despite being a key-frame.
-
yzct12345 authored
-
Fernando S authored
Respect Vulkan bufferImageGranularity
-
bunnei authored
input_common: Improve SDL joystick and hide toggle option
-
bunnei authored
Add description to fast gpu time option
-
ameerj authored
-
german77 authored
-
bunnei authored
common: uuid: Add hash function for UUID
-
- 07 Aug, 2021 14 commits
-
-
german77 authored
-
bunnei authored
nvdec: Better logging for unimplemented codecs
-
Robin Kertels authored
-
bunnei authored
yuzu-cmd: hide mouse cursor when started fullscreen
-
bunnei authored
settings_ui: Add emulated joystick position dot to controller preview
-
ameerj authored
-
bunnei authored
astc_decoder: Various performance and memory optimizations
-
yzct12345 authored
-
yzct12345 authored
-
yzct12345 authored
-
bunnei authored
nvdec: Fix VP9 reference frame refreshes
-
ameerj authored
This was mainly used to keep track of mapped buffers for later unmapping. Since unmap is no longer implemented, this no longer seves a valuable purpose.
-
ameerj authored
With reference frames refreshes fix, we no longer need to buffer two frames in advance. We can also remove other unused or otherwise unneeded variables.
-
ameerj authored
This resolves the artifacting when decoding VP9 streams.
-