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:
Jose Ernesto Ramirez Ramirez
2015-06-27 18:04:58 -05:00
parent 8128c81539
commit d4fa032402
4 changed files with 7 additions and 2 deletions

View File

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