mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-15 01:15:06 +01:00
Update SMS.ino
Fix wrong file creation location when reading multiple ROMs in a row
This commit is contained in:
parent
f9537bede5
commit
b66b3e2fe1
@ -573,6 +573,7 @@ void manual_selectRomSize() {
|
|||||||
// Read ROM and save it to the SD card
|
// Read ROM and save it to the SD card
|
||||||
//******************************************
|
//******************************************
|
||||||
void readROM_SMS() {
|
void readROM_SMS() {
|
||||||
|
sd.chdir("/");
|
||||||
// Get name, add extension depending on the system and convert to char array for sd lib
|
// Get name, add extension depending on the system and convert to char array for sd lib
|
||||||
if (system_sms) {
|
if (system_sms) {
|
||||||
createFolder("SMS", "ROM", romName, "sms");
|
createFolder("SMS", "ROM", romName, "sms");
|
||||||
@ -581,7 +582,6 @@ void readROM_SMS() {
|
|||||||
} else {
|
} else {
|
||||||
createFolder("SG1000", "ROM", romName, "sg");
|
createFolder("SG1000", "ROM", romName, "sg");
|
||||||
}
|
}
|
||||||
|
|
||||||
printAndIncrementFolder(true);
|
printAndIncrementFolder(true);
|
||||||
|
|
||||||
print_Msg(F("ROM Size: "));
|
print_Msg(F("ROM Size: "));
|
||||||
|
Loading…
Reference in New Issue
Block a user