LV2/TImer: Fix notification discard
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user