From 9bfaf8682db10d5e1fe82ee4cefa3e7f0d9fbb1b Mon Sep 17 00:00:00 2001 From: qeeg Date: Mon, 31 Aug 2020 16:37:42 -0500 Subject: [PATCH] Fix a typo --- src/NDS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NDS.cpp b/src/NDS.cpp index bb579f6d..a23772c5 100644 --- a/src/NDS.cpp +++ b/src/NDS.cpp @@ -3745,7 +3745,7 @@ void ARM7IOWrite8(u32 addr, u8 val) return; case 0x04000301: - val & 0xC0; + val &= 0xC0; if (val == 0x40) printf("!! GBA MODE NOT SUPPORTED\n"); else if (val == 0x80) ARM7->Halt(1); else if (val == 0xC0) EnterSleepMode();