mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
SPU syscall improvements
This commit is contained in:
parent
30fe3dc6f5
commit
9e49a33b3c
27 changed files with 692 additions and 705 deletions
|
|
@ -228,7 +228,7 @@ void PPUThread::Task()
|
|||
|
||||
ppu_thread::ppu_thread(u32 entry, const std::string& name, u32 stack_size, u32 prio)
|
||||
{
|
||||
thread = &Emu.GetCPU().AddThread(CPU_THREAD_PPU);
|
||||
thread = Emu.GetCPU().AddThread(CPU_THREAD_PPU);
|
||||
|
||||
thread->SetName(name);
|
||||
thread->SetEntry(entry);
|
||||
|
|
@ -277,7 +277,7 @@ ppu_thread& ppu_thread::gpr(uint index, u64 value)
|
|||
{
|
||||
assert(index < 32);
|
||||
|
||||
static_cast<PPUThread*>(thread)->GPR[index] = value;
|
||||
static_cast<PPUThread&>(*thread).GPR[index] = value;
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue