mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
RawSPU initialization fix
This commit is contained in:
parent
8e19af530b
commit
b487dcee27
4 changed files with 24 additions and 12 deletions
|
@ -7,12 +7,11 @@
|
|||
|
||||
#include "Emu/Cell/RawSPUThread.h"
|
||||
|
||||
RawSPUThread::RawSPUThread(u32 index, CPUThreadType type)
|
||||
RawSPUThread::RawSPUThread(CPUThreadType type)
|
||||
: SPUThread(type)
|
||||
, MemoryBlock()
|
||||
, m_index(index)
|
||||
{
|
||||
Memory.InitRawSPU(SetRange(RAW_SPU_BASE_ADDR + RAW_SPU_OFFSET * index, RAW_SPU_PROB_OFFSET), m_index);
|
||||
m_index = Memory.InitRawSPU(this);
|
||||
Reset();
|
||||
}
|
||||
|
||||
|
@ -344,7 +343,7 @@ void RawSPUThread::Task()
|
|||
{
|
||||
PC = SPU.NPC.GetValue();
|
||||
|
||||
CPUThread::Task();
|
||||
SPUThread::Task();
|
||||
|
||||
SPU.NPC.SetValue(PC);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue