diff options
author | StapleButter <thetotalworm@gmail.com> | 2017-12-12 02:34:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-12 02:34:00 +0100 |
commit | fff4ca0c9580c228c8b17ef87518d1806e3a4909 (patch) | |
tree | 287512c92f1fdf7aa7b26a48bfa6209593517b80 | |
parent | b8c8909ad1c8512a81670745faeed8fd5ccc52e8 (diff) | |
parent | 4519a7ae1ff0fe8280e08aa29537c07c21c2f2cb (diff) |
Merge pull request #216 from bentley/master
Small fixes
-rw-r--r-- | src/NDSCart.cpp | 2 | ||||
-rw-r--r-- | src/Wifi.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/NDSCart.cpp b/src/NDSCart.cpp index 03f536a..474a13b 100644 --- a/src/NDSCart.cpp +++ b/src/NDSCart.cpp @@ -178,7 +178,7 @@ void SetMemoryType() } else { - printf("bad save size %X. assuming EEPROM 64K\n"); + printf("bad save size %X. assuming EEPROM 64K\n", Discover_LikelySize); Discover_MemoryType = 2; } } diff --git a/src/Wifi.cpp b/src/Wifi.cpp index 6844166..aaac0e2 100644 --- a/src/Wifi.cpp +++ b/src/Wifi.cpp @@ -234,7 +234,7 @@ void SetIRQ14(int source) // 0=USCOMPARE 1=BEACONCOUNT 2=forced if (BlockBeaconIRQ14 && source == 1) return; - if (!(IOPORT(W_USCompareCnt)) & 0x0001) + if (!(IOPORT(W_USCompareCnt) & 0x0001)) return; SetIRQ(14); |