mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-24 05:29:17 +01:00
Add files via uplpad
This commit is contained in:
parent
b3ac026495
commit
d8d9716aa3
@ -4,7 +4,7 @@
|
|||||||
This project represents a community-driven effort to provide
|
This project represents a community-driven effort to provide
|
||||||
an easy to build and easy to modify cartridge dumper.
|
an easy to build and easy to modify cartridge dumper.
|
||||||
|
|
||||||
Date: 21.06.2022
|
Date: 23.06.2022
|
||||||
Version: 8.5 BETA
|
Version: 8.5 BETA
|
||||||
|
|
||||||
SD lib: https://github.com/greiman/SdFat
|
SD lib: https://github.com/greiman/SdFat
|
||||||
|
@ -498,9 +498,6 @@ void setup_GBA() {
|
|||||||
setROM_GBA();
|
setROM_GBA();
|
||||||
|
|
||||||
// Get cart info
|
// Get cart info
|
||||||
display_Clear();
|
|
||||||
println_Msg(F("Searching database..."));
|
|
||||||
display_Update();
|
|
||||||
getCartInfo_GBA();
|
getCartInfo_GBA();
|
||||||
display_Clear();
|
display_Clear();
|
||||||
|
|
||||||
@ -767,6 +764,7 @@ void getCartInfo_GBA() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (logoChecksum != 0x4B1B) {
|
if (logoChecksum != 0x4B1B) {
|
||||||
|
display_Clear();
|
||||||
print_Error(F("CARTRIDGE ERROR"), false);
|
print_Error(F("CARTRIDGE ERROR"), false);
|
||||||
strcpy(romName, "ERROR");
|
strcpy(romName, "ERROR");
|
||||||
println_Msg(F(""));
|
println_Msg(F(""));
|
||||||
@ -792,6 +790,10 @@ void getCartInfo_GBA() {
|
|||||||
cartID[2] = char(sdBuffer[0xAE]);
|
cartID[2] = char(sdBuffer[0xAE]);
|
||||||
cartID[3] = char(sdBuffer[0xAF]);
|
cartID[3] = char(sdBuffer[0xAF]);
|
||||||
|
|
||||||
|
display_Clear();
|
||||||
|
println_Msg(F("Searching database..."));
|
||||||
|
display_Update();
|
||||||
|
|
||||||
if (myFile.open("gba.txt", O_READ)) {
|
if (myFile.open("gba.txt", O_READ)) {
|
||||||
// Loop through file
|
// Loop through file
|
||||||
while (myFile.available()) {
|
while (myFile.available()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user