mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Derive RSX Replay thread from cpu_thread
Its id is set to 0, so fix some id_type() usages.
This commit is contained in:
parent
150e18539c
commit
f972fa26a4
10 changed files with 40 additions and 22 deletions
|
|
@ -570,13 +570,15 @@ namespace vm
|
|||
|
||||
if (_cpu && _cpu->id_type() == 1)
|
||||
{
|
||||
thread_ctrl::emergency_exit("vm::reservation_escape");
|
||||
// TODO: PPU g_escape
|
||||
}
|
||||
|
||||
if (_cpu && _cpu->id_type() == 2)
|
||||
{
|
||||
spu_runtime::g_escape(static_cast<spu_thread*>(_cpu));
|
||||
}
|
||||
|
||||
thread_ctrl::emergency_exit("vm::reservation_escape");
|
||||
}
|
||||
|
||||
static void _page_map(u32 addr, u8 flags, u32 size, utils::shm* shm, std::pair<const u32, std::pair<u32, std::shared_ptr<utils::shm>>>* (*search_shm)(vm::block_t* block, utils::shm* shm))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue