Ryujinx/Ryujinx.HLE/HOS/Kernel/Common
Mary 7b040e51b0
kernel: Fix sleep timing accuracy (#2828)
* kernel: Fix sleep timing accuracy

This commit corrects some mistake while comparing reversing of kernel
13.x with our own.

WaitAndCheckScheduledObjects timing accuracy was also improved.

* Make KTimeManager.WaitAndCheckScheduledObjects spin wait for sub milliseconds

Fix performance regression on Pokemon Let's Go games and possibly
others.

* Address rip's comment

* kernel: Fix issues with timeout of -1 (0xFFFFFFFF)

Fixes possible hang on Pokemon DP and possibly others
2021-11-28 13:15:26 +01:00
..
IKFutureSchedulerObject.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
KAutoObject.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00
KernelInit.cs Allow DRAM size to be increased from 4GB to 6GB (#2174) 2021-04-04 14:06:59 +02:00
KernelResult.cs Improve kernel IPC implementation (#550) 2019-01-18 20:26:39 -02:00
KernelTransfer.cs HLE: Fix integer sign inconcistency accross the codebase (#2222) 2021-04-24 12:16:01 +02:00
KResourceLimit.cs kernel: Add resource limit related syscalls (#2773) 2021-10-24 01:40:13 +02:00
KSynchronizationObject.cs Move kernel state out of the Horizon class (#1107) 2020-05-04 13:41:29 +10:00
KSystemControl.cs kernel: Add support for CFI (#2839) 2021-11-28 13:01:17 +01:00
KTimeManager.cs kernel: Fix sleep timing accuracy (#2828) 2021-11-28 13:15:26 +01:00
LimitableResource.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
MemoryArrange.cs Allow DRAM size to be increased from 4GB to 6GB (#2174) 2021-04-04 14:06:59 +02:00
MemroySize.cs Allow DRAM size to be increased from 4GB to 6GB (#2174) 2021-04-04 14:06:59 +02:00
MersenneTwister.cs Misc cleanup (#708) 2019-07-02 04:39:22 +02:00
OnScopeExit.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00