Update SMS.ino

Fix wrong file creation location when reading multiple ROMs in a row
This commit is contained in:
PsyK0p4T 2024-08-15 00:09:40 +02:00 committed by GitHub
parent f9537bede5
commit b66b3e2fe1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -573,6 +573,7 @@ void manual_selectRomSize() {
// Read ROM and save it to the SD card
//******************************************
void readROM_SMS() {
sd.chdir("/");
// Get name, add extension depending on the system and convert to char array for sd lib
if (system_sms) {
createFolder("SMS", "ROM", romName, "sms");
@ -581,7 +582,6 @@ void readROM_SMS() {
} else {
createFolder("SG1000", "ROM", romName, "sg");
}
printAndIncrementFolder(true);
print_Msg(F("ROM Size: "));