mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-27 15:04:15 +01:00
Fix renaming PCE ROM
This commit is contained in:
parent
dc65d4e3f9
commit
9c102563d1
@ -4,8 +4,8 @@
|
||||
This project represents a community-driven effort to provide
|
||||
an easy to build and easy to modify cartridge dumper.
|
||||
|
||||
Date: 11.04.2022
|
||||
Version: 8.2
|
||||
Date: 15.04.2022
|
||||
Version: 8.3
|
||||
|
||||
SD lib: https://github.com/greiman/SdFat
|
||||
OLED lib: https://github.com/adafruit/Adafruit_SSD1306
|
||||
@ -45,7 +45,7 @@
|
||||
|
||||
**********************************************************************************/
|
||||
|
||||
char ver[5] = "8.2";
|
||||
char ver[5] = "8.3";
|
||||
|
||||
/******************************************
|
||||
Libraries
|
||||
|
@ -527,14 +527,7 @@ void crc_search(char *file_p, char *folder_p, uint32_t rom_size, uint32_t crc)
|
||||
print_Msg(F(".pce"));
|
||||
flag = CHKSUM_OK;
|
||||
strcat(gamename, ".pce");
|
||||
|
||||
// Open filepath directory
|
||||
if (!myDir.open(folder_p)) {
|
||||
display_Clear();
|
||||
print_Error(F("SD Error"), true);
|
||||
}
|
||||
rom.rename(&myDir, gamename);
|
||||
myDir.close();
|
||||
rom.rename(gamename);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1275,3 +1275,6 @@ Zipang
|
||||
|
||||
[CD] TurboGrafx CD System Card
|
||||
FF2A5EC3
|
||||
|
||||
Test Checksum
|
||||
154803CC
|
||||
|
Loading…
Reference in New Issue
Block a user