Skip to content

Commit

Permalink
rsx: Improve vblank accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
elad335 committed Mar 31, 2019
1 parent 27ba93c commit b8fb83c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rpcs3/Emu/RSX/RSXThread.cpp
Expand Up @@ -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
}
});

Expand Down

0 comments on commit b8fb83c

Please sign in to comment.