mmc5 fix
mmc5 fix taken from fceux source code to handle correctly the register $5130 in fceumm. Now we can play games like Legend of Link nes hack that need this fix.
This commit is contained in:
@@ -74,6 +74,7 @@ pshift[1] <<= 8;
|
||||
#ifdef PPUT_MMC5CHR1
|
||||
C = MMC5HackVROMPTR;
|
||||
C += (((MMC5HackExNTARAMPtr[RefreshAddr & 0x3ff]) & 0x3f & MMC5HackVROMMask) << 12) + (vadr & 0xfff);
|
||||
C += (MMC50x5130 & 0x3) << 18;
|
||||
#elif defined(PPUT_MMC5)
|
||||
C = MMC5BGVRAMADR(vadr);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user