mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-16 07:20:59 +00:00
SPU: Make STOP a safe return instruction
This commit is contained in:
parent
a539308545
commit
e0f08cd5c1
@ -2655,13 +2655,13 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
update_pc();
|
update_pc();
|
||||||
|
ensure_gpr_stores();
|
||||||
call("spu_syscall", &exec_stop, m_thread, m_ir->getInt32(op.opcode & 0x3fff));
|
call("spu_syscall", &exec_stop, m_thread, m_ir->getInt32(op.opcode & 0x3fff));
|
||||||
|
|
||||||
if (g_cfg.core.spu_block_size == spu_block_size_type::safe)
|
if (g_cfg.core.spu_block_size == spu_block_size_type::safe)
|
||||||
{
|
{
|
||||||
m_block->block_end = m_ir->GetInsertBlock();
|
m_block->block_end = m_ir->GetInsertBlock();
|
||||||
update_pc(m_pos + 4);
|
update_pc(m_pos + 4);
|
||||||
ensure_gpr_stores();
|
|
||||||
tail_chunk(m_dispatch);
|
tail_chunk(m_dispatch);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user