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