summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpcsxcore/sio.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/libpcsxcore/sio.c b/libpcsxcore/sio.c
index 22d96f9c..5c365404 100644
--- a/libpcsxcore/sio.c
+++ b/libpcsxcore/sio.c
@@ -766,7 +766,21 @@ unsigned char sioRead8() {
}
unsigned short sioReadStat16() {
- return StatReg;
+ u16 hard;
+
+ hard = StatReg;
+
+#if 0
+ // wait for IRQ first
+ if( psxRegs.interrupt & (1 << PSXINT_SIO) )
+ {
+ hard &= ~TX_RDY;
+ hard &= ~RX_RDY;
+ hard &= ~TX_EMPTY;
+ }
+#endif
+
+ return hard;
}
unsigned short sioReadMode16() {