aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRSDuck <RSDuck@users.noreply.github.com>2020-09-01 00:16:41 +0200
committerGitHub <noreply@github.com>2020-09-01 00:16:41 +0200
commit910050a89887d29d20d3e24a1057f654f4d66365 (patch)
treefaa62a1127b326b6db47f8047d2a882a38260a48
parent02d51620e3c3aa91d3c0b0fd67fb771d95b29b82 (diff)
parent9bfaf8682db10d5e1fe82ee4cefa3e7f0d9fbb1b (diff)
Merge pull request #735 from qeeg/master
Fix a typo in NDS.cpp
-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();