From d1fe487a484459974d835d2ebf7b1a359307376e Mon Sep 17 00:00:00 2001 From: Sergiy Dvodnenko Date: Thu, 12 Sep 2024 11:31:32 +0300 Subject: [PATCH] SNES: increase the maximum bsram size to 256Kb --- support/snes/snes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/snes/snes.cpp b/support/snes/snes.cpp index 2c40355..7939e31 100644 --- a/support/snes/snes.cpp +++ b/support/snes/snes.cpp @@ -156,7 +156,7 @@ uint8_t* snes_get_header(fileTYPE *f) if (addr) { uint8_t ramsz = buf[addr + RamSize]; - if (ramsz >= 0x08) ramsz = 0; + if (ramsz >= 0x09) ramsz = 0; //re-calc rom size uint8_t romsz = 15;