damn old mappers crashes fixed finally in addition to 1533 rev

This commit is contained in:
CaH4e3 2009-11-12 20:43:27 +00:00
parent a45d6068df
commit 05ea4d2881
1 changed files with 1 additions and 1 deletions

View File

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