From 05ea4d2881f35571609dc03e808d7fa1cc71087d Mon Sep 17 00:00:00 2001 From: CaH4e3 Date: Thu, 12 Nov 2009 20:43:27 +0000 Subject: [PATCH] damn old mappers crashes fixed finally in addition to 1533 rev --- src/ines.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ines.cpp b/src/ines.cpp index bd4797bf..9fb674ea 100644 --- a/src/ines.cpp +++ b/src/ines.cpp @@ -1241,7 +1241,7 @@ static void iNESPower(void) all of the iNES mapper code... */ IRQCount=IRQLatch=IRQa=0; if(head.ROM_type&2) - memset(GameMemBlock+8192,0,sizeof(GameMemBlock)-8192); + memset(GameMemBlock+8192,0,GAME_MEM_BLOCK_SIZE-8192); else memset(GameMemBlock,0,GAME_MEM_BLOCK_SIZE);