mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 10:18:40 +12:00
PPUThread refactoring
`CallbackManager` removed, added _gcm_intr_thread for cellGcmSys `PPUThread` renamed to `ppu_thread`, inheritance allowed Added lightweight command queue for `ppu_thread` Implemented call stack dump for PPU `get_current_thread_mutex` removed `thread_ctrl::spawn`: minor initialization fix `thread_ctrl::wait_for` added `named_thread`: some methods added `cpu_thread::run` added Some bugs fixes, including SPU channels
This commit is contained in:
parent
33c59fa51b
commit
f8719c1230
99 changed files with 4480 additions and 4592 deletions
|
@ -269,7 +269,7 @@ void spu_recompiler::InterpreterCall(spu_opcode_t op)
|
|||
|
||||
const u32 old_pc = _spu->pc;
|
||||
|
||||
if (_spu->state.load() && _spu->check_status())
|
||||
if (_spu->state.load() && _spu->check_state())
|
||||
{
|
||||
return 0x2000000 | _spu->pc;
|
||||
}
|
||||
|
@ -340,7 +340,7 @@ void spu_recompiler::FunctionCall()
|
|||
LOG_ERROR(SPU, "Branch-to-self");
|
||||
}
|
||||
|
||||
while (!_spu->state.load() || !_spu->check_status())
|
||||
while (!_spu->state.load() || !_spu->check_state())
|
||||
{
|
||||
// Proceed recursively
|
||||
spu_recompiler_base::enter(*_spu);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue