mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
SPU DMA: Fix PUTLLUC (TSX)
Prevent edge case of missing store.
This commit is contained in:
parent
f4f0fb88b1
commit
19acf260d8
2 changed files with 21 additions and 1 deletions
|
@ -645,7 +645,10 @@ cpu_thread::suspend_all::suspend_all(cpu_thread* _this) noexcept
|
|||
|
||||
for_all_cpu([](cpu_thread* cpu)
|
||||
{
|
||||
cpu->state += cpu_flag::pause;
|
||||
if (!(cpu->state & cpu_flag::pause))
|
||||
{
|
||||
cpu->state += cpu_flag::pause;
|
||||
}
|
||||
});
|
||||
|
||||
busy_wait(500);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue