From a19a10b16b2aad8ee9e0761fb832f969ff2cfee3 Mon Sep 17 00:00:00 2001 From: sanni Date: Sun, 15 Sep 2024 20:31:54 +0200 Subject: [PATCH] Update GB.ino --- Cart_Reader/GB.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)"));