Commit graph

9414 commits

Author SHA1 Message Date
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.
2023-03-05 02:36:31 -05:00
Morph
7f06f21046 Merge pull request #9884 from liamwhite/service-cleanup
service: miscellaneous cleanups
2023-03-03 22:51:17 -05:00
Liam
63414faea4 kernel: be more careful about kernel address keys 2023-03-01 10:42:45 -05:00
Liam
f4e795193b kernel: refactor priority inheritance to represent locks as C++ objects 2023-03-01 10:42:45 -05:00
Liam
a269b9b8e5 kernel: simplify AddressSpaceInfo, update values 2023-03-01 10:42:45 -05:00
Liam
7f1ef3060c kernel: barrier memory before condition variable write 2023-03-01 10:42:45 -05:00
Liam
dd0f9ff950 kernel: document previous location of interrupt disables in arbiter/condvar 2023-03-01 10:42:45 -05:00
Liam
1fd1d90c2d kernel: adjust pool allocations 2023-03-01 10:42:45 -05:00
Liam
7c2041afbc kernel: simplify KAbstractSchedulerLock::Lock 2023-03-01 10:42:45 -05:00
Liam
1cba79d852 kernel: add InfoType::IoRegionHint 2023-03-01 10:42:45 -05:00
Liam
c191cf75bb nvnflinger: fix name 2023-03-01 10:39:49 -05:00
Liam
d7e9461b71 service: move hle_ipc from kernel 2023-03-01 10:39:49 -05:00
Liam
6ac62cfbe1 sm:: remove unused member 2023-03-01 10:39:36 -05:00
liamwhite
7b8304614c Merge pull request #9832 from liamwhite/hle-mp
service: HLE multiprocess
2023-03-01 10:38:20 -05:00
Alexandre Bouvier
e9ec2e4cf0 cmake: use correct boost imported targets 2023-02-28 17:56:01 +01:00
liamwhite
6825d636b1 Merge pull request #9859 from liamwhite/tmem-use
service: avoid direct pointer access of transfer memory objects
2023-02-27 19:46:10 -05:00
liamwhite
537c46a639 Merge pull request #9874 from german77/violet
service: btm: Fix handle functions
2023-02-27 19:46:01 -05:00
Matías Locatti
075a842858 Merge pull request #9872 from goldenx86/partialLTO
Partial LTO
2023-02-27 19:38:36 -03:00
Matías Locatti
7cc539e8b8 Partially apply LTO to only core and video_core projects. 2023-02-27 18:44:14 -03:00
Narr the Reg
0017139a65 service: btm: Fix handle functions 2023-02-27 12:40:47 -06:00
Narr the Reg
2e388209d7 Revert "yuzu: config: Remove player 8 and 9 from config file" 2023-02-26 14:39:13 -06:00
Narr the Reg
f6531fb17c yuzu: config: Remove player 8 and 9 from config file 2023-02-25 22:20:32 -06:00
liamwhite
361dd62847 Merge pull request #9848 from german77/metroid_motion
input_common: Implement dedicated motion from mouse
2023-02-25 12:44:13 -05:00
liamwhite
ac484666fc Merge pull request #9857 from german77/fwupdate
core: Update service function tables to 16.0.0+
2023-02-25 12:44:06 -05:00
Narr the Reg
4b240b6393 core: hidbus: Fix BusType size 2023-02-24 21:22:27 -06:00
Narr the Reg
932cf55052 core: Update service function tables to 16.0.0+ 2023-02-24 18:17:36 -06:00
Liam
b88b27fdf5 am: avoid direct pointer access of transfer memory objects 2023-02-24 12:50:54 -05:00
Liam
434d182020 hid: avoid direct pointer access of transfer memory objects 2023-02-24 12:48:07 -05:00
Narr the Reg
86a9ed6ef1 core: hid: Restore motion state on refresh and clamp motion values 2023-02-21 21:55:23 -06:00
Narr the Reg
a146b27325 core: hid: Fix native mouse mappings 2023-02-21 19:48:38 -06:00
liamwhite
9fc17e8fdb Merge pull request #9846 from merryhime/type-const
svc: Fix type consistency (exposed on macOS)
2023-02-21 18:58:04 -05:00
Merry
38f528134f svc: Fix type consistency (exposed on macOS) 2023-02-21 21:39:17 +00:00
MonsterDruide1
fe662086c0 net: translate ECONNRESET network error 2023-02-21 20:47:59 +01:00
Liam
91c597e869 sm:: fix lingering session initialization issues 2023-02-21 12:19:25 -05:00
Liam
165ba6a98b cheat_engine: add check for hid initialization 2023-02-21 12:19:25 -05:00
Liam
893a54f2bd sm:: support service registration deferral 2023-02-21 12:19:25 -05:00
Liam
1c3a93e7c4 service: refactor server architecture
Converts services to have their own processes
2023-02-21 12:19:25 -05:00
Liam
5175ea2ae1 core: defer cpu shutdown 2023-02-21 12:19:25 -05:00
liamwhite
0af0887f01 Merge pull request #9771 from ameerj/host-thread-id
kernel: Refactor thread_local variable usage
2023-02-19 13:12:43 -05:00
liamwhite
d5a2a03687 Merge pull request #9815 from german77/qt-mouse
Qt: Fix mouse scalling
2023-02-18 16:25:48 -05:00
Liam
edda4ad9ae kernel: add KObjectName 2023-02-17 09:16:05 -05:00
Narr the Reg
8a7dfb2439 input_common: Split mouse input into individual devices 2023-02-16 14:22:13 -06:00
liamwhite
207fdfe57d Merge pull request #9796 from liamwhite/current
general: rename CurrentProcess to ApplicationProcess
2023-02-15 17:42:45 -05:00
liamwhite
9b97895d3c Merge pull request #9782 from arades79/fix-consexpr-value-declaration-usage
Fix consexpr value declaration usage
2023-02-15 17:42:38 -05:00
arades79
b4b47c9f4a remove constexpr from virtual function
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14 19:14:29 -05:00
Liam
c415339beb service: remove deleted services 2023-02-14 12:38:21 -05:00
arades79
b34e09b574 use a string view to skip allocation
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14 12:35:40 -05:00
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>
2023-02-14 12:35:39 -05:00
arades79
3e078dbb07 apply clang-format
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14 12:35:39 -05:00
arades79
adcef452e0 add static lifetime to constexpr values to force compile time evaluation where possible
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14 12:33:11 -05:00