summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2023-03-23Merge pull request #9964 from liamwhite/typed-addressliamwhite
kernel: use KTypedAddress for addresses
2023-03-22kernel: use KTypedAddress for addressesLiam
2023-03-18common: string_util: Use std::string_view for UTF16ToUTF8/UTF8ToUTF16W.bunnei
2023-03-17common: bounded_threadsafe_queue: Use polyfill_thread.bunnei
2023-03-12general: fix spelling mistakesLiam
2023-03-10Merge pull request #9917 from Morph1984/the-real-timeliamwhite
native_clock: Re-adjust the RDTSC frequency to its real frequency
2023-03-08Merge pull request #9906 from german77/metroid2bunnei
input_common: Increase mouse sensitivity range
2023-03-07Merge pull request #9918 from liamwhite/fwrapvMorph
kernel: avoid signed overflow UB on MSVC
2023-03-07Merge pull request #9920 from liamwhite/constexpr-bit-castMorph
common: make BitCast constexpr
2023-03-07native_clock: Wait for 10 seconds instead of 30Morph
It was experimentally determined to be sufficient.
2023-03-07native_clock: Use RealTimeClock instead of SteadyClockMorph
We want to synchronize RDTSC to real time.
2023-03-07steady_clock: Introduce a real time clockMorph
2023-03-07native_clock: Re-adjust the RDTSC frequencyMorph
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.
2023-03-08input_common: Minor typo issues (#9922)Narr the Reg
2023-03-07input_common: Increase mouse sensitivity rangegerman77
2023-03-07common: make BitCast constexprLiam
2023-03-07kernel: avoid signed overflow UB on MSVCLiam
2023-03-07Merge pull request #9889 from Morph1984/time-is-tickingliamwhite
core_timing: Reduce CPU usage on Windows
2023-03-06fix typo in settings.hIkko Eltociear Ashimine
Intial -> Initial
2023-03-05native_clock: Round RDTSC frequency to the nearest 1000Morph
2023-03-05timer_resolution: Set current process to High QoSMorph
Ensures that this process is treated as a high performance process by the Windows scheduler.
2023-03-05core_timing: Use higher precision sleeps on WindowsMorph
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.
2023-03-05wall_clock: Make use of SteadyClockMorph
2023-03-05common: Implement a method to change the Windows timer resolutionMorph
This utilizes undocumented NtDll functions to change the current timer resolution from the default of 1ms.
2023-03-05common: Implement a high resolution steady clockMorph
This implementation provides a consistent, high performance, and high resolution clock where/when std::chrono::steady_clock does not provide sufficient precision.
2023-03-01nvnflinger: fix nameLiam
2023-02-28cmake: use correct boost imported targetsAlexandre Bouvier
2023-02-26Revert "yuzu: config: Remove player 8 and 9 from config file"Narr the Reg
2023-02-26Merge pull request #9849 from ameerj/async-astcliamwhite
texture_cache: Add asynchronous ASTC texture decoding
2023-02-25yuzu: config: Remove player 8 and 9 from config fileNarr the Reg
2023-02-22configuration: Add async ASTC decode settingameerj
2023-02-22texture_cache: Add async texture decodingameerj
2023-02-21settings: Add more input settings to the logNarr the Reg
2023-02-12Update settings.cppm-HD
added missing graphical settings to RestoreGlobalState()
2023-02-09input_common: Reintroduce custom pro controller supportNarr the Reg
2023-02-03Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span"ameerj
This reverts commit 25fc5c0e1158cb8e81cbc769b24ad84032a1fbfd, reversing changes made to af20e25081f97d55b451606c87922e2b49f0d363.
2023-02-02Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ↵liamwhite
ReadBuffer"
2023-02-01Merge pull request #9696 from german77/please_forgive_me_for_this_sinbunnei
input_common: Implement turbo buttons
2023-02-01input_common: Implement turbo buttonsgerman77
2023-01-30Merge pull request #9508 from ameerj/hle-ipc-buffer-spanbunnei
hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer
2023-01-29Move to Clang Format 15Levi Behunin
Depends on https://github.com/yuzu-emu/build-environments/pull/69 clang-15 primary run
2023-01-27polyfill_thread: satisfy execution ordering requirements of stop_callbackLiam
2023-01-25polyfill_thread: Implement StoppableTimedWaitMorph
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>
2023-01-24Merge pull request #9662 from abouvier/cmake-llvmbunnei
cmake: prefer system llvm library
2023-01-24Merge pull request #9492 from german77/joycon_releaseliamwhite
Input_common: Implement custom joycon driver v2
2023-01-23cmake: prefer system llvm libraryAlexandre Bouvier
2023-01-22Merge pull request #9613 from Kelebek1/demangleliamwhite
Add stacktrace symbol demangling
2023-01-19input_common: Use DriverResult on all enginesgerman77
2023-01-19input_common: Disable SDL driver with switch controllersNarr the Reg
2023-01-19input_common: Initial skeleton for custom joycon driverNarr the Reg