diff options
| author | 2020-11-28 11:43:29 -0800 | |
|---|---|---|
| committer | 2020-12-06 00:03:24 -0800 | |
| commit | 493263f4159b15f54c5683d92590cb20b60e4d7a (patch) | |
| tree | d6ad43e8dcefb0c9573513b19660b16a7a87f313 /src/core/hle/kernel/svc.cpp | |
| parent | common: Port KPriorityQueue from Mesosphere. (diff) | |
| download | yuzu-493263f4159b15f54c5683d92590cb20b60e4d7a.tar.gz yuzu-493263f4159b15f54c5683d92590cb20b60e4d7a.tar.xz yuzu-493263f4159b15f54c5683d92590cb20b60e4d7a.zip | |
hle: kernel: svc: Remove unnecessary hack in svcSleep.
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
| -rw-r--r-- | src/core/hle/kernel/svc.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 0cd712d09..fcb864427 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp | |||
| @@ -1627,13 +1627,6 @@ static void SleepThread(Core::System& system, s64 nanoseconds) { | |||
| 1627 | } else { | 1627 | } else { |
| 1628 | current_thread->Sleep(nanoseconds); | 1628 | current_thread->Sleep(nanoseconds); |
| 1629 | } | 1629 | } |
| 1630 | |||
| 1631 | if (is_redundant && !system.Kernel().IsMulticore()) { | ||
| 1632 | system.Kernel().ExitSVCProfile(); | ||
| 1633 | system.CoreTiming().AddTicks(1000U); | ||
| 1634 | system.GetCpuManager().PreemptSingleCore(); | ||
| 1635 | system.Kernel().EnterSVCProfile(); | ||
| 1636 | } | ||
| 1637 | } | 1630 | } |
| 1638 | 1631 | ||
| 1639 | static void SleepThread32(Core::System& system, u32 nanoseconds_low, u32 nanoseconds_high) { | 1632 | static void SleepThread32(Core::System& system, u32 nanoseconds_low, u32 nanoseconds_high) { |