mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 22:11:26 +12:00
LV2/TImer: Fix notification discard
This commit is contained in:
parent
49be6be8f4
commit
81e4d9c2ee
1 changed files with 6 additions and 1 deletions
|
@ -115,7 +115,7 @@ void lv2_timer_thread::operator()()
|
||||||
{
|
{
|
||||||
u64 sleep_time = 0;
|
u64 sleep_time = 0;
|
||||||
|
|
||||||
while (thread_ctrl::state() != thread_state::aborting)
|
while (true)
|
||||||
{
|
{
|
||||||
if (sleep_time != umax)
|
if (sleep_time != umax)
|
||||||
{
|
{
|
||||||
|
@ -125,6 +125,11 @@ void lv2_timer_thread::operator()()
|
||||||
|
|
||||||
thread_ctrl::wait_for(sleep_time);
|
thread_ctrl::wait_for(sleep_time);
|
||||||
|
|
||||||
|
if (thread_ctrl::state() == thread_state::aborting)
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
sleep_time = umax;
|
sleep_time = umax;
|
||||||
|
|
||||||
if (Emu.IsPaused())
|
if (Emu.IsPaused())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue