From b8da7916e26c399e0e8db9959133d37277fb76bc Mon Sep 17 00:00:00 2001 From: n-a-c-h <> Date: Sun, 10 Jul 2005 22:00:54 +0000 Subject: [PATCH] Fixed loading of small ROMs. --- zsnes/src/initc.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zsnes/src/initc.c b/zsnes/src/initc.c index d586cda8..787e94c2 100755 --- a/zsnes/src/initc.c +++ b/zsnes/src/initc.c @@ -645,6 +645,12 @@ void MirrorROM() } NumofBanks = curromspace >> 15; + + //If ROM was too small before, but now decent size with mirroring, adjust location + if (infoloc < Lo) + { + infoloc = Lo; + } } void SetupSramSize()