No more segfault in JIT. Keeps executing the same blocks over and over though...
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user