dynarec: don't throw exceptions if NO_MMU
This commit is contained in:
parent
cb6acab40f
commit
ba00da2420
|
@ -684,16 +684,20 @@ void print_blocks()
|
|||
{
|
||||
gcode=op->guest_offs;
|
||||
u32 rpc=blk->vaddr+gcode;
|
||||
#ifndef NO_MMU
|
||||
try {
|
||||
#endif
|
||||
u16 op=IReadMem16(rpc);
|
||||
|
||||
char temp[128];
|
||||
OpDesc[op]->Disassemble(temp,rpc,op);
|
||||
|
||||
fprintf(f,"//g: %04X %s\n", op, temp);
|
||||
#ifndef NO_MMU
|
||||
} catch (SH4ThrownException& ex) {
|
||||
fprintf(f,"//g: ???? (page fault)\n");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
string s=op->dissasm();
|
||||
|
|
|
@ -266,7 +266,6 @@ static void interpreter_fallback(u16 op, u32 pc)
|
|||
OpDesc[op]->oph(op);
|
||||
exception_raised = 0;
|
||||
} catch (SH4ThrownException& ex) {
|
||||
printf("HOLY SHIT! interpreter_fallback exception pc %08x evn %x vect %x\n", pc, ex.expEvn, ex.callVect);
|
||||
if (pc & 1)
|
||||
{
|
||||
// Delay slot
|
||||
|
|
Loading…
Reference in New Issue