aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorqeeg <mszoopers@protonmail.com>2020-08-31 16:37:42 -0500
committerqeeg <mszoopers@protonmail.com>2020-08-31 16:37:42 -0500
commit9bfaf8682db10d5e1fe82ee4cefa3e7f0d9fbb1b (patch)
treefaa62a1127b326b6db47f8047d2a882a38260a48 /src
parent02d51620e3c3aa91d3c0b0fd67fb771d95b29b82 (diff)
Fix a typo
Diffstat (limited to 'src')
-rw-r--r--src/NDS.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NDS.cpp b/src/NDS.cpp
index bb579f6..a23772c 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();