Liam
2e637e5519
kernel: avoid signed overflow UB on MSVC
3 years ago
Ikko Eltociear Ashimine
538c3df844
fix typo in settings.h
Intial -> Initial
3 years ago
Morph
38db5c2026
native_clock: Round RDTSC frequency to the nearest 1000
3 years ago
Morph
56547b9b88
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
e25334b8b3
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
22d58e43dc
wall_clock: Make use of SteadyClock
3 years ago
Morph
59b8488e90
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
f869dabc4a
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
c191cf75bb
nvnflinger: fix name
3 years ago
Alexandre Bouvier
e9ec2e4cf0
cmake: use correct boost imported targets
3 years ago
Narr the Reg
2e388209d7
Revert "yuzu: config: Remove player 8 and 9 from config file"
3 years ago
Narr the Reg
f6531fb17c
yuzu: config: Remove player 8 and 9 from config file
3 years ago
ameerj
c5386e2179
configuration: Add async ASTC decode setting
3 years ago
ameerj
08c1dc9587
texture_cache: Add async texture decoding
3 years ago
Narr the Reg
1156e6ae8f
settings: Add more input settings to the log
3 years ago
arades79
60a68839ee
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
e342fecde6
don't use static inside constexpr function
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
arades79
adcef452e0
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
fa7436638c
Update settings.cpp
added missing graphical settings to RestoreGlobalState()
3 years ago
Narr the Reg
75039440f3
input_common: Reintroduce custom pro controller support
3 years ago
ameerj
7cc5da4a9f
Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span"
This reverts commit 153fa289d2 , reversing
changes made to 20676b3b5a .
3 years ago
liamwhite
f74a95b6fb
Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer"
3 years ago
german77
db99ab5431
input_common: Implement turbo buttons
3 years ago
Levi Behunin
2ff6c44168
Move to Clang Format 15
Depends on https://github.com/yuzu-emu/build-environments/pull/69
clang-15 primary run
3 years ago
Liam
6237e8d92f
polyfill_thread: satisfy execution ordering requirements of stop_callback
3 years ago
Morph
337f943c97
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
8768e16b6c
cmake: prefer system llvm library
3 years ago
german77
5cbeb6f1c4
input_common: Use DriverResult on all engines
3 years ago
Narr the Reg
216bdb7884
input_common: Disable SDL driver with switch controllers
3 years ago
Narr the Reg
0e41ae9595
input_common: Initial skeleton for custom joycon driver
3 years ago
Kelebek1
8fea4c21b2
Be careful of mangled out of bounds read
3 years ago
Kelebek1
a665621670
Move demangle impl to cpp
3 years ago
Kelebek1
90f546cba4
Add stacktrace symbol demangling
3 years ago
Matías Locatti
7297ab36c1
Update settings.h
3 years ago
Matías Locatti
a724435c8b
CPP
3 years ago
Matías Locatti
cf9e60d883
1.5X resolution scaler option
3 years ago
Liam
a9d96415c4
renderer_vulkan: disable turbo by default
3 years ago
Narr the Reg
243f2931b5
input_common: Create an update engine
3 years ago
Wollnashorn
1011652852
config: Set the Vulkan driver pipeline cache option to be global
3 years ago
Wollnashorn
0b17b4edd2
config: Better wording for VK pipeline cache option and enable by default
3 years ago
Wollnashorn
ef0b585b0b
video_core/vulkan: Added `VkPipelineCache` to store Vulkan pipelines
As an optional feature which can be enabled in the advanced graphics configuration, all pipelines that get built at the initial shader loading are stored in a VkPipelineCache object and are dumped to the disk.
These vendor specific pipeline cache files are located at `/shader/GAME_ID/vulkan_pipelines.bin`. This feature was mainly added because of an issue with the AMD driver (see yuzu-emu#8507) causing invalidation of the cache files the driver builds automatically.
3 years ago
Liam
d9b2bc7f04
common: add setting for renderer clock workaround
3 years ago
Fernando Sahmkow
e5d02ff039
yuzu-ui: Add setting for disabling macro HLE
3 years ago
Fernando Sahmkow
1fdf24a081
Video_core: Address feedback
3 years ago
Fernando Sahmkow
e6e49e584f
MacroHLE: Final cleanup and fixes.
3 years ago
Fernando Sahmkow
12a76465b9
MacroHLE: Reduce massive calculations on sizing estimation.
3 years ago
Merry
0abd0d6af9
host_memory: Use transparent huge pages where available
3 years ago
Merry
192f349e5f
host_memory: Allocate virtual_base with MAP_NORESERVE
Specify that we do not require swap to be reserved for this address range;
allow overcommitting.
3 years ago
ameerj
399b6d3a0c
fsp_srv: Use ReadBufferSpan
3 years ago
ameerj
4d5adfb3c9
scratch_buffer: Explicitly defing resize and resize_destructive functions
resize keeps previous data intact when the buffer grows
resize_destructive destroys the previous data when the buffer grows
3 years ago