Mapper 432: Small mistake regarding DIP clear bit

This commit is contained in:
NewRisingSun
2022-03-02 10:35:22 +01:00
parent 0b77d74f87
commit 9e7cf140ec

View File

@@ -44,7 +44,7 @@ static DECLFR(M432Read) {
static DECLFW(M432Write) {
EXPREGS[A & 1] = V;
if (~A &1 && ~V &1) EXPREGS[1] =0; /* Writing 0 to register 0 clears register 1 */
if (~A &1 && ~V &1) EXPREGS[1] &=~0x20; /* Writing 0 to register 0 clears register 1's DIP bit */
FixMMC3PRG(MMC3_cmd);
FixMMC3CHR(MMC3_cmd);
}