mirror of
https://github.com/stenzek/duckstation.git
synced 2026-11-04 21:35:05 +01:00
Common: Use __yield() for CPU-pause on ARM
This commit is contained in:
4 files changed
+11
-37
No files matched your search
@@ -127,7 +127,7 @@ void Timer::SleepUntil(Value value, bool exact)
|
||||
// And spin off whatever time is left.
|
||||
while (current < value)
|
||||
{
|
||||
MultiPause();
|
||||
PauseCPU();
|
||||
current = GetCurrentValue();
|
||||
}
|
||||
}
|
||||
@@ -219,7 +219,7 @@ void Timer::SleepUntil(Value value, bool exact)
|
||||
// And spin off whatever time is left.
|
||||
while (current < value)
|
||||
{
|
||||
MultiPause();
|
||||
PauseCPU();
|
||||
current = GetCurrentValue();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user