mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-11-16 11:03:55 +01:00
rsx: Improve vblank accuracy
This commit is contained in:
1 parent
801e6114b6
commit
8185ef7610
1 file changed
+3
-2
@@ -471,13 +471,14 @@ namespace rsx
|
||||
thread_ctrl::notify(*intr_thread);
|
||||
}
|
||||
|
||||
std::this_thread::sleep_for(16ms);
|
||||
continue;
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user