aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/NDSCart.cpp2
-rw-r--r--src/Wifi.cpp2
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);