aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cart_Reader/GB.ino
diff options
context:
space:
mode:
authorsanni <[email protected]>2024-09-15 20:31:54 +0200
committersanni <[email protected]>2024-09-15 20:31:54 +0200
commita19a10b16b2aad8ee9e0761fb832f969ff2cfee3 (patch)
tree3b37e240257bc7010475dac1539ede0d2696eeba /Cart_Reader/GB.ino
parent6222b1fe3fb2d0382f48c0c7a8bab63143df6d8d (diff)
downloadcartreader-a19a10b16b2aad8ee9e0761fb832f969ff2cfee3.tar.gz
cartreader-a19a10b16b2aad8ee9e0761fb832f969ff2cfee3.zip
Update GB.ino
Diffstat (limited to 'Cart_Reader/GB.ino')
-rw-r--r--Cart_Reader/GB.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cart_Reader/GB.ino b/Cart_Reader/GB.ino
index c4f1505..036fe1c 100644
--- a/Cart_Reader/GB.ino
+++ b/Cart_Reader/GB.ino
@@ -2147,7 +2147,7 @@ void writeFlash_GB(byte MBC, boolean commandSet, boolean flashErase) {
}
else if (MBC == 0) {
- if (fileSize > 0x7FFF)
+ if (fileSize > 0x8000)
print_FatalError(file_too_big_STR);
if (audioWE)
println_Msg(F("Writing flash (Audio)"));