From b66b3e2fe1329c39d7cbbb16f8b8b18ce9d8daa8 Mon Sep 17 00:00:00 2001 From: PsyK0p4T <87064902+PsyK0p4T@users.noreply.github.com> Date: Thu, 15 Aug 2024 00:09:40 +0200 Subject: [PATCH] Update SMS.ino Fix wrong file creation location when reading multiple ROMs in a row --- Cart_Reader/SMS.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cart_Reader/SMS.ino b/Cart_Reader/SMS.ino index 1ac253d..d100824 100644 --- a/Cart_Reader/SMS.ino +++ b/Cart_Reader/SMS.ino @@ -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: "));