Skip to content

Commit

Permalink
Update GB.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
sanni committed Sep 15, 2024
1 parent 6222b1f commit a19a10b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cart_Reader/GB.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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)"));
Expand Down

0 comments on commit a19a10b

Please sign in to comment.