aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/new_dynarec
diff options
context:
space:
mode:
authornotaz2013-01-06 19:59:20 +0200
committernotaz2013-01-06 20:01:16 +0200
commit9705788a21dc36515ba498d45ba2f197f7bcd628 (patch)
tree3df2f2509331de9344d9b2d0a0e9dbf2068367e4 /libpcsxcore/new_dynarec
parent92879b62c06f6c1d363a138f77f7727d0fc7721e (diff)
downloadpcsx_rearmed-9705788a21dc36515ba498d45ba2f197f7bcd628.tar.gz
pcsx_rearmed-9705788a21dc36515ba498d45ba2f197f7bcd628.tar.bz2
pcsx_rearmed-9705788a21dc36515ba498d45ba2f197f7bcd628.zip
fix irq status
tested on real hardware
Diffstat (limited to 'libpcsxcore/new_dynarec')
-rw-r--r--libpcsxcore/new_dynarec/pcsxmem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libpcsxcore/new_dynarec/pcsxmem.c b/libpcsxcore/new_dynarec/pcsxmem.c
index 4d83452..a42852a 100644
--- a/libpcsxcore/new_dynarec/pcsxmem.c
+++ b/libpcsxcore/new_dynarec/pcsxmem.c
@@ -147,9 +147,9 @@ make_rcnt_funcs(2)
static void io_write_ireg16(u32 value)
{
- if (Config.Sio) psxHu16ref(0x1070) |= 0x80;
+ //if (Config.Sio) psxHu16ref(0x1070) |= 0x80;
if (Config.SpuIrq) psxHu16ref(0x1070) |= 0x200;
- psxHu16ref(0x1070) &= psxHu16(0x1074) & value;
+ psxHu16ref(0x1070) &= value;
}
static void io_write_imask16(u32 value)
@@ -161,9 +161,9 @@ static void io_write_imask16(u32 value)
static void io_write_ireg32(u32 value)
{
- if (Config.Sio) psxHu32ref(0x1070) |= 0x80;
+ //if (Config.Sio) psxHu32ref(0x1070) |= 0x80;
if (Config.SpuIrq) psxHu32ref(0x1070) |= 0x200;
- psxHu32ref(0x1070) &= psxHu32(0x1074) & value;
+ psxHu32ref(0x1070) &= value;
}
static void io_write_imask32(u32 value)