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 23, 2019
1 parent e2895b4 commit 529ad6a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rpcs3/Emu/RSX/RSXThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -471,13 +471,14 @@ namespace rsx
thread_ctrl::notify(*intr_thread);
}

std::this_thread::sleep_for(15ms);
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
std::this_thread::sleep_for(500us); // Hack
}
});

Expand Down

0 comments on commit 529ad6a

Please sign in to comment.