rsx: Improve vblank accuracy

This commit is contained in:
eladash authored and Ivan committed 2019-03-31 14:57:21 +03:00
1 parent 801e6114b6
commit 8185ef7610
1 file changed
+3 -2
+3 -2
View File
@@ -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
}
});