update parallel rsp

This commit is contained in:
Logan McNaughton committed 2022-09-04 19:59:13 -06:00
1 parent 1bda48366d
commit 1c55af9c18
1 file changed
+3 -1
+3 -1
View File
@@ -78,12 +78,14 @@ extern "C"
{
// We don't know if Mupen from the outside invalidated our IMEM.
if (first_run)
{
RSP::cpu.get_state().last_instruction_type = RSP::VU_INSTRUCTION;
RSP::cpu.invalidate_imem();
}
// Run CPU until we either break or we need to fire an IRQ.
RSP::cpu.get_state().pc = *RSP::rsp.SP_PC_REG & 0xfff;
RSP::cpu.get_state().instruction_count = 0;
RSP::cpu.get_state().last_instruction_type = RSP::VU_INSTRUCTION;
#ifdef INTENSE_DEBUG
fprintf(stderr, "RUN TASK: %u\n", RSP::cpu.get_state().pc);