From 80ff348b03979f197b29100c9cc27dc893f8e90c Mon Sep 17 00:00:00 2001 From: Dakkaron Date: Thu, 22 Jul 2021 14:42:01 +0200 Subject: [PATCH 1/2] Typo --- 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 7d83d7f..8266a9b 100644 --- a/Cart_Reader/GB.ino +++ b/Cart_Reader/GB.ino @@ -977,7 +977,7 @@ bool writeFlash_GB() { println_Msg(F("Error: Flash has too few banks!")); print_Msg(F("Has ")); print_Msg(flashBanks); - println_Msg(F(" banks,") + println_Msg(F(" banks,")); print_Msg(F("but needs ")); print_Msg(romBanks); println_Msg(F(".")); From 3e18f4f28cd770243257006898ae6fd9925863af Mon Sep 17 00:00:00 2001 From: Dakkaron Date: Thu, 22 Jul 2021 15:16:38 +0200 Subject: [PATCH 2/2] Removes write errors --- Cart_Reader/GB.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/Cart_Reader/GB.ino b/Cart_Reader/GB.ino index 8266a9b..d7a703a 100644 --- a/Cart_Reader/GB.ino +++ b/Cart_Reader/GB.ino @@ -1118,6 +1118,7 @@ bool writeFlash_GB() { // Switch CS(PH3) and OE/RD(PH6) to HIGH PORTH |= (1 << 3) | (1 << 6); + __asm__("nop\n\tnop\n\tnop\n\t"); // Waste a few CPU cycles to remove write errors // Set data pins to output dataOut();