aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cart_Reader/ARC.ino
diff options
context:
space:
mode:
authorsmesgr9000 <smesgr9000>2024-05-25 14:25:35 +0200
committersmesgr9000 <smesgr9000>2024-05-25 14:25:35 +0200
commit41182a7eb07307e5151218cfa69eaa965e766816 (patch)
tree967fd80feddc3e7d4d7d7b1efed9348d26c613b9 /Cart_Reader/ARC.ino
parent6abe29fcd9b30e45c539876a57634aa840f77a58 (diff)
downloadcartreader-41182a7eb07307e5151218cfa69eaa965e766816.tar.gz
cartreader-41182a7eb07307e5151218cfa69eaa965e766816.zip
add option to clear display and remove duplicate code
Diffstat (limited to 'Cart_Reader/ARC.ino')
-rw-r--r--Cart_Reader/ARC.ino3
1 files changed, 1 insertions, 2 deletions
diff --git a/Cart_Reader/ARC.ino b/Cart_Reader/ARC.ino
index 943741c..a2345b8 100644
--- a/Cart_Reader/ARC.ino
+++ b/Cart_Reader/ARC.ino
@@ -152,8 +152,7 @@ void readSegment_ARC(uint16_t startaddr, uint16_t endaddr) {
void readROM_ARC() {
createFolder("ARC", "ROM", romName, "bin");
- display_Clear();
- printAndIncrementFolder();
+ printAndIncrementFolder(true);
// open file on sdcard
if (!myFile.open(fileName, O_RDWR | O_CREAT)) {