notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
042c728
)
drc: detect sw irqs properly
author
notaz
<notasas@gmail.com>
Tue, 25 Oct 2011 21:00:05 +0000
(
00:00
+0300)
committer
notaz
<notasas@gmail.com>
Sun, 30 Oct 2011 21:48:08 +0000
(23:48 +0200)
libpcsxcore/new_dynarec/emu_if.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/new_dynarec/emu_if.c
b/libpcsxcore/new_dynarec/emu_if.c
index
38d9492
..
00af7f7
100644
(file)
--- a/
libpcsxcore/new_dynarec/emu_if.c
+++ b/
libpcsxcore/new_dynarec/emu_if.c
@@
-110,6
+110,8
@@
void pcsx_mtc0(u32 reg, u32 val)
evprintf("MTC0 %d #%x @%08x %u\n", reg, val, psxRegs.pc, psxRegs.cycle);
MTC0(reg, val);
gen_interupt();
+ if (Cause & Status & 0x0300) // possible sw irq
+ pending_exception = 1;
}
void pcsx_mtc0_ds(u32 reg, u32 val)