RawSPU: implemented read SPU_RunCntl_offs

This commit is contained in:
Nekotekina 2017-08-31 23:22:52 +03:00
parent 20d48289b8
commit 9ba3cea2b1

View File

@ -90,6 +90,12 @@ bool RawSPUThread::read_reg(const u32 addr, u32& value)
value = npc;
return true;
}
case SPU_RunCntl_offs:
{
value = run_ctrl;
return true;
}
}
LOG_ERROR(SPU, "RawSPUThread[%d]: Read32(0x%x): unknown/illegal offset (0x%x)", index, addr, offset);