Skip to content

Commit

Permalink
Update SMS.ino
Browse files Browse the repository at this point in the history
Fix wrong file creation location when reading multiple ROMs in a row
  • Loading branch information
PsyK0p4T authored Aug 14, 2024
1 parent f9537be commit b66b3e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cart_Reader/SMS.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -581,7 +582,6 @@ void readROM_SMS() {
} else {
createFolder("SG1000", "ROM", romName, "sg");
}

printAndIncrementFolder(true);

print_Msg(F("ROM Size: "));
Expand Down

0 comments on commit b66b3e2

Please sign in to comment.