rsx: Improve vblank accuracy

This commit is contained in:
eladash 2019-03-15 19:06:26 +02:00 committed by Ivan
parent 801e6114b6
commit 8185ef7610

View file

@ -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
} }
}); });