notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drc: minor cleanup
[pcsx_rearmed.git]
/
libpcsxcore
/
new_dynarec
/
emu_if.c
diff --git
a/libpcsxcore/new_dynarec/emu_if.c
b/libpcsxcore/new_dynarec/emu_if.c
index
dc17f2d
..
33319ba
100644
(file)
--- a/
libpcsxcore/new_dynarec/emu_if.c
+++ b/
libpcsxcore/new_dynarec/emu_if.c
@@
-84,7
+84,7
@@
static void irq_test(void)
}
}
}
}
- if ((psxHu32(0x1070) & psxHu32(0x1074)) && (Status & 0x401) == 0x401) {
+ if ((psxHu32(0x1070) & psxHu32(0x1074)) && (
psxRegs.CP0.n.
Status & 0x401) == 0x401) {
psxException(0x400, 0);
pending_exception = 1;
}
psxException(0x400, 0);
pending_exception = 1;
}
@@
-110,7
+110,7
@@
void pcsx_mtc0(u32 reg, u32 val)
evprintf("MTC0 %d #%x @%08x %u\n", reg, val, psxRegs.pc, psxRegs.cycle);
MTC0(&psxRegs, reg, val);
gen_interupt();
evprintf("MTC0 %d #%x @%08x %u\n", reg, val, psxRegs.pc, psxRegs.cycle);
MTC0(&psxRegs, reg, val);
gen_interupt();
- if (
Cause &
Status & 0x0300) // possible sw irq
+ if (
psxRegs.CP0.n.Cause & psxRegs.CP0.n.
Status & 0x0300) // possible sw irq
pending_exception = 1;
}
pending_exception = 1;
}