mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 19:00:14 -05:00
hle: kernel: svc: Remove unnecessary hack in svcSleep.
This commit is contained in:
parent
a3ccac3eb7
commit
493263f415
1 changed files with 0 additions and 7 deletions
|
@ -1627,13 +1627,6 @@ static void SleepThread(Core::System& system, s64 nanoseconds) {
|
||||||
} else {
|
} else {
|
||||||
current_thread->Sleep(nanoseconds);
|
current_thread->Sleep(nanoseconds);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_redundant && !system.Kernel().IsMulticore()) {
|
|
||||||
system.Kernel().ExitSVCProfile();
|
|
||||||
system.CoreTiming().AddTicks(1000U);
|
|
||||||
system.GetCpuManager().PreemptSingleCore();
|
|
||||||
system.Kernel().EnterSVCProfile();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void SleepThread32(Core::System& system, u32 nanoseconds_low, u32 nanoseconds_high) {
|
static void SleepThread32(Core::System& system, u32 nanoseconds_low, u32 nanoseconds_high) {
|
||||||
|
|
Loading…
Reference in a new issue