mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-30 16:34:14 +01:00
Update NES.ino
This commit is contained in:
parent
a03d78405c
commit
1e6a37858d
@ -2459,11 +2459,7 @@ void writeRAM () {
|
|||||||
display_Clear();
|
display_Clear();
|
||||||
|
|
||||||
if (ramsize == 0) {
|
if (ramsize == 0) {
|
||||||
LED_RED_ON;
|
print_Error(F("RAM SIZE 0K"), false);
|
||||||
|
|
||||||
println_Msg(F("RAM SIZE 0K"));
|
|
||||||
display_Update();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
fileBrowser(F("Select RAM File"));
|
fileBrowser(F("Select RAM File"));
|
||||||
@ -2472,6 +2468,7 @@ void writeRAM () {
|
|||||||
sd.chdir();
|
sd.chdir();
|
||||||
sprintf(filePath, "%s/%s", filePath, fileName);
|
sprintf(filePath, "%s/%s", filePath, fileName);
|
||||||
|
|
||||||
|
display_Clear();
|
||||||
println_Msg(F("Writing File: "));
|
println_Msg(F("Writing File: "));
|
||||||
println_Msg(filePath);
|
println_Msg(filePath);
|
||||||
println_Msg(fileName);
|
println_Msg(fileName);
|
||||||
@ -2597,9 +2594,7 @@ void writeRAM () {
|
|||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
LED_RED_ON;
|
print_Error(F("SD ERROR"), true);
|
||||||
println_Msg(F("SD ERROR"));
|
|
||||||
display_Update();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user