diff --git a/src/NDSCart.cpp b/src/NDSCart.cpp index 03f536a6..474a13b3 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 68441661..aaac0e24 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);