No more segfault in JIT. Keeps executing the same blocks over and over though...

This commit is contained in:
CocoSimone
2023-01-04 16:50:33 +01:00
parent 5da1e2a443
commit 64630ea06b
43 changed files with 823 additions and 849 deletions

View File

@@ -121,7 +121,7 @@ void Cop1::cfc1(Registers& regs, u32 instr) const {
switch(fd) {
case 0: val = fcr0; break;
case 31: val = fcr31.raw; break;
default: util::panic("Undefined CFC1 with rd != 0 or 31\n");
default: Util::panic("Undefined CFC1 with rd != 0 or 31\n");
}
regs.gpr[RT(instr)] = val;
}
@@ -135,7 +135,7 @@ void Cop1::ctc1(Registers& regs, u32 instr) {
val &= 0x183ffff;
fcr31.raw = val;
} break;
default: util::panic("Undefined CTC1 with rd != 0 or 31\n");
default: Util::panic("Undefined CTC1 with rd != 0 or 31\n");
}
}