mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-28 08:37:06 +00:00
LV2/TImer: Fix notification discard
This commit is contained in:
parent
49be6be8f4
commit
81e4d9c2ee
@ -115,7 +115,7 @@ void lv2_timer_thread::operator()()
|
||||
{
|
||||
u64 sleep_time = 0;
|
||||
|
||||
while (thread_ctrl::state() != thread_state::aborting)
|
||||
while (true)
|
||||
{
|
||||
if (sleep_time != umax)
|
||||
{
|
||||
@ -125,6 +125,11 @@ void lv2_timer_thread::operator()()
|
||||
|
||||
thread_ctrl::wait_for(sleep_time);
|
||||
|
||||
if (thread_ctrl::state() == thread_state::aborting)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
sleep_time = umax;
|
||||
|
||||
if (Emu.IsPaused())
|
||||
|
Loading…
x
Reference in New Issue
Block a user