mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 01:08:39 +12:00
rsx: Improve vblank accuracy
This commit is contained in:
parent
801e6114b6
commit
8185ef7610
1 changed files with 3 additions and 2 deletions
|
@ -471,13 +471,14 @@ namespace rsx
|
||||||
thread_ctrl::notify(*intr_thread);
|
thread_ctrl::notify(*intr_thread);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::this_thread::sleep_for(16ms);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (Emu.IsPaused() && !m_rsx_thread_exiting)
|
while (Emu.IsPaused() && !m_rsx_thread_exiting)
|
||||||
std::this_thread::sleep_for(10ms);
|
std::this_thread::sleep_for(16ms);
|
||||||
|
|
||||||
std::this_thread::sleep_for(1ms); // hack
|
thread_ctrl::wait_for(100); // Hack
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue