X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=ines.c;h=8e244ae0350240519333dc86e242fa6ea40d6f24;hp=6665a1311e261aecddbcbd1c489156ae86d71c2a;hb=f12b1f316ca070bda860108b4e3901628d1a8398;hpb=e2d0dd92bfad989cce4270fc0ac5a712476c7c50 diff --git a/ines.c b/ines.c index 6665a13..8e244ae 100644 --- a/ines.c +++ b/ines.c @@ -916,6 +916,10 @@ static void iNESPower(void) setprg8r(1,0x6000,0); SetReadHandler(0x6000,0x7FFF,AWRAM); +#ifdef ASM_6502 + // asm code needs pages to be set again.. + Page[12]=Page[13]=Page[14]=Page[15]=WRAM-0x6000; +#endif SetWriteHandler(0x6000,0x7FFF,BWRAM); FCEU_CheatAddRAM(8,0x6000,WRAM);