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)"));