From d22f35b2ef53f186e47f4778a376313bfdbffc10 Mon Sep 17 00:00:00 2001 From: jiyunomegami Date: Sat, 4 Jul 2020 20:57:54 +0900 Subject: [PATCH] use local sramBanks variable in SNES.ino --- Cart_Reader/SNES.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/Cart_Reader/SNES.ino b/Cart_Reader/SNES.ino index 1c2e2a2..449d362 100644 --- a/Cart_Reader/SNES.ino +++ b/Cart_Reader/SNES.ino @@ -1312,6 +1312,7 @@ void writeSRAM (boolean browseFile) { // Set RST RD WR to High and CS to Low controlOut_SNES(); + int sramBanks = 0; // LoRom if (romType == LO) { // Sram size