mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-05-07 13:37:46 +00:00
fix thread
This commit is contained in:
parent
afd10c5668
commit
daed44574b
1 changed files with 2 additions and 3 deletions
|
|
@ -400,9 +400,6 @@ namespace rsx
|
|||
// TODO: exit condition
|
||||
while (!Emu.IsStopped())
|
||||
{
|
||||
if (!Emu.IsRunning())
|
||||
std::this_thread::sleep_for(10ms);
|
||||
|
||||
if (get_system_time() - start_time > vblank_count * 1000000 / 60)
|
||||
{
|
||||
vblank_count++;
|
||||
|
|
@ -421,6 +418,8 @@ namespace rsx
|
|||
|
||||
continue;
|
||||
}
|
||||
while (Emu.IsPaused())
|
||||
std::this_thread::sleep_for(10ms);
|
||||
|
||||
std::this_thread::sleep_for(1ms); // hack
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue