use local sramBanks variable in SNES.ino

This commit is contained in:
jiyunomegami 2020-07-04 20:57:54 +09:00
parent bc3dd3dd13
commit d22f35b2ef

View File

@ -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