X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fnew_dynarec%2Femu_if.c;fp=libpcsxcore%2Fnew_dynarec%2Femu_if.c;h=00af7f7aa9374a2e416c59096b2da12579d7136f;hp=38d94921365cf3e44758dc09c6ba98cebd132d0d;hb=15d0ba027cfbe88c69b539cc0c9ac6769e577c78;hpb=042c72873a51a9807a9b233b5b28c97c3d72f5d5 diff --git a/libpcsxcore/new_dynarec/emu_if.c b/libpcsxcore/new_dynarec/emu_if.c index 38d94921..00af7f7a 100644 --- 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)