From d8d9716aa36e9516d9a49a63be8569d47e7a55dc Mon Sep 17 00:00:00 2001 From: sanni Date: Thu, 23 Jun 2022 10:47:30 +0200 Subject: [PATCH] Add files via uplpad --- Cart_Reader/Cart_Reader.ino | 2 +- Cart_Reader/GBA.ino | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Cart_Reader/Cart_Reader.ino b/Cart_Reader/Cart_Reader.ino index b1e37f3..7c62524 100644 --- a/Cart_Reader/Cart_Reader.ino +++ b/Cart_Reader/Cart_Reader.ino @@ -4,7 +4,7 @@ This project represents a community-driven effort to provide an easy to build and easy to modify cartridge dumper. - Date: 21.06.2022 + Date: 23.06.2022 Version: 8.5 BETA SD lib: https://github.com/greiman/SdFat diff --git a/Cart_Reader/GBA.ino b/Cart_Reader/GBA.ino index c99f622..afa84c2 100644 --- a/Cart_Reader/GBA.ino +++ b/Cart_Reader/GBA.ino @@ -498,9 +498,6 @@ void setup_GBA() { setROM_GBA(); // Get cart info - display_Clear(); - println_Msg(F("Searching database...")); - display_Update(); getCartInfo_GBA(); display_Clear(); @@ -767,6 +764,7 @@ void getCartInfo_GBA() { } if (logoChecksum != 0x4B1B) { + display_Clear(); print_Error(F("CARTRIDGE ERROR"), false); strcpy(romName, "ERROR"); println_Msg(F("")); @@ -792,6 +790,10 @@ void getCartInfo_GBA() { cartID[2] = char(sdBuffer[0xAE]); cartID[3] = char(sdBuffer[0xAF]); + display_Clear(); + println_Msg(F("Searching database...")); + display_Update(); + if (myFile.open("gba.txt", O_READ)) { // Loop through file while (myFile.available()) {