Morph
306840a580
bounded_threadsafe_queue: Use simplified impl of bounded queue
Provides a simplified SPSC, MPSC, and MPMC bounded queue implementation using mutexes.
3 years ago
bunnei
00d401d639
common: string_util: Use std::string_view for UTF16ToUTF8/UTF8ToUTF16W.
3 years ago
bunnei
0eb3fa05e5
common: bounded_threadsafe_queue: Use polyfill_thread.
3 years ago
Liam
600f325d87
general: fix spelling mistakes
3 years ago
Morph
d718eab351
native_clock: Wait for 10 seconds instead of 30
It was experimentally determined to be sufficient.
3 years ago
Morph
c27a626b5b
native_clock: Use RealTimeClock instead of SteadyClock
We want to synchronize RDTSC to real time.
3 years ago
Morph
6f9918552c
steady_clock: Introduce a real time clock
3 years ago
Morph
dcd13a7566
native_clock: Re-adjust the RDTSC frequency
The RDTSC frequency reported by CPUID is not accurate to its true frequency.
We will spawn a separate thread to calculate the true RDTSC frequency after a measurement period of 30 seconds has elapsed.
3 years ago
Narr the Reg
757aafa582
input_common: Minor typo issues ( #9922 )
3 years ago
german77
9a9e5844d3
input_common: Increase mouse sensitivity range
3 years ago
Liam
64dcb40db1
common: make BitCast constexpr
3 years ago
Liam
d45ac00d48
kernel: avoid signed overflow UB on MSVC
3 years ago
Ikko Eltociear Ashimine
c161e3f433
fix typo in settings.h
Intial -> Initial
3 years ago
Morph
376a414f5b
native_clock: Round RDTSC frequency to the nearest 1000
3 years ago
Morph
026eaddbee
timer_resolution: Set current process to High QoS
Ensures that this process is treated as a high performance process by the Windows scheduler.
3 years ago
Morph
bff1453282
core_timing: Use higher precision sleeps on Windows
The precision of sleep_for and wait_for is limited to 1-1.5ms on Windows.
Using SleepForOneTick() allows us to sleep for exactly one interval of the current timer resolution.
This allows us to take advantage of systems that have a timer resolution of 0.5ms to reduce CPU overhead in the event loop.
3 years ago
Morph
7fffdf83b7
wall_clock: Make use of SteadyClock
3 years ago
Morph
1ed49f92dd
common: Implement a method to change the Windows timer resolution
This utilizes undocumented NtDll functions to change the current timer resolution from the default of 1ms.
3 years ago
Morph
bd09c82521
common: Implement a high resolution steady clock
This implementation provides a consistent, high performance, and high resolution clock where/when std::chrono::steady_clock does not provide sufficient precision.
3 years ago
Liam
809148e1a5
nvnflinger: fix name
3 years ago
Alexandre Bouvier
57fd8b1f45
cmake: use correct boost imported targets
3 years ago
Narr the Reg
ff11fdb07e
Revert "yuzu: config: Remove player 8 and 9 from config file"
3 years ago
Narr the Reg
60688bf0d5
yuzu: config: Remove player 8 and 9 from config file
3 years ago
ameerj
b5bcd8c71b
configuration: Add async ASTC decode setting
3 years ago
ameerj
090bc588e5
texture_cache: Add async texture decoding
3 years ago
Narr the Reg
db2785082b
settings: Add more input settings to the log
3 years ago
arades79
683019878f
remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
arades79
392a029ef4
don't use static inside constexpr function
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
arades79
45e13b03f3
add static lifetime to constexpr values to force compile time evaluation where possible
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
m-HD
9df92bad2a
Update settings.cpp
added missing graphical settings to RestoreGlobalState()
3 years ago
Narr the Reg
acba9a6b76
input_common: Reintroduce custom pro controller support
3 years ago
ameerj
2d2522693e
Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span"
This reverts commit 25fc5c0e11 , reversing
changes made to af20e25081 .
3 years ago
liamwhite
b01698775b
Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer"
3 years ago
german77
75e81885b0
input_common: Implement turbo buttons
3 years ago
Levi Behunin
d5fc56db4b
Move to Clang Format 15
Depends on https://github.com/yuzu-emu/build-environments/pull/69
clang-15 primary run
3 years ago
Liam
619c0e70f0
polyfill_thread: satisfy execution ordering requirements of stop_callback
3 years ago
Morph
9b0563fa87
polyfill_thread: Implement StoppableTimedWait
StoppableTimedWait allows for a timed wait to be stopped immediately after a stop is requested.
This is useful in cases where long duration thread sleeps are needed and allows for immediate joining of waiting threads after a stop is requested.
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
3 years ago
Alexandre Bouvier
34b1ea9c19
cmake: prefer system llvm library
3 years ago
german77
527dad7097
input_common: Use DriverResult on all engines
3 years ago
Narr the Reg
2d802893e7
input_common: Disable SDL driver with switch controllers
3 years ago
Narr the Reg
d80e6c399b
input_common: Initial skeleton for custom joycon driver
3 years ago
Kelebek1
42b16bb33a
Be careful of mangled out of bounds read
3 years ago
Kelebek1
ce0b8d618d
Move demangle impl to cpp
3 years ago
Kelebek1
80a55c1663
Add stacktrace symbol demangling
3 years ago
Matías Locatti
d7dbd8e774
Update settings.h
3 years ago
Matías Locatti
4294429a07
CPP
3 years ago
Matías Locatti
3ba53f2511
1.5X resolution scaler option
3 years ago
Liam
0df43e4e07
renderer_vulkan: disable turbo by default
3 years ago
Narr the Reg
8042ce7e19
input_common: Create an update engine
3 years ago
Wollnashorn
8945fafcc0
config: Set the Vulkan driver pipeline cache option to be global
3 years ago