mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-20 22:05:06 +00:00
PPU: Fix potential overflow
This commit is contained in:
parent
700334753d
commit
91b4aaf9e1
4 changed files with 6 additions and 6 deletions
|
|
@ -57,7 +57,7 @@ namespace rsx
|
|||
{ ppu_cmd::sleep, 0 }
|
||||
});
|
||||
|
||||
RSX(ctx)->intr_thread->cmd_notify++;
|
||||
RSX(ctx)->intr_thread->cmd_notify.store(1);
|
||||
RSX(ctx)->intr_thread->cmd_notify.notify_one();
|
||||
}
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ namespace rsx
|
|||
{ ppu_cmd::sleep, 0 }
|
||||
});
|
||||
|
||||
RSX(ctx)->intr_thread->cmd_notify++;
|
||||
RSX(ctx)->intr_thread->cmd_notify.store(1);
|
||||
RSX(ctx)->intr_thread->cmd_notify.notify_one();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue