log PC in RSP unhandled instruction case

This commit is contained in:
CocoSimone
2022-12-12 02:49:30 +01:00
parent 1b743b4359
commit 69d5166db7

View File

@@ -215,7 +215,7 @@ void RSP::Exec(Registers &regs, Mem& mem, u32 instr) {
fwrite(temp, 1, IMEM_SIZE, fp); fwrite(temp, 1, IMEM_SIZE, fp);
free(temp); free(temp);
fclose(fp); fclose(fp);
util::panic("Unhandled RSP instruction ({:06b})\n", mask); util::panic("Unhandled RSP instruction ({:06b}, {:04X})\n", mask, oldPC);
} }
} }
} }