X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fsio.c;h=12fd0bd717a76ee3a3cbfa1d38a7b93cc42f5ab0;hp=df130e813d055bdafdb690aee7d7eaf809ead599;hb=7d95d6faffdcbd6a4f2b1b2990fa7ff5851bb2d5;hpb=51f77282d6cb4bc06248395cc1e712ee298910af diff --git a/libpcsxcore/sio.c b/libpcsxcore/sio.c index df130e81..12fd0bd7 100644 --- a/libpcsxcore/sio.c +++ b/libpcsxcore/sio.c @@ -279,7 +279,7 @@ void sioWriteMode16(unsigned short value) { void sioWriteCtrl16(unsigned short value) { CtrlReg = value & ~RESET_ERR; if (value & RESET_ERR) StatReg &= ~IRQ; - if ((CtrlReg & SIO_RESET) || (!CtrlReg)) { + if ((CtrlReg & SIO_RESET) || !(CtrlReg & DTR)) { padst = 0; mcdst = 0; parp = 0; StatReg = TX_RDY | TX_EMPTY; psxRegs.interrupt &= ~(1 << PSXINT_SIO);