Fixes Dragon Quest 7

This commit is contained in:
alyosha-tas 2016-09-04 20:48:19 -04:00 committed by GitHub
parent 08e303e398
commit 41bf579728
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
using BizHawk.Common;
using BizHawk.Common.NumberExtensions;
using System;
namespace BizHawk.Emulation.Cores.Nintendo.NES
{
@ -38,11 +39,11 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
int reg0 = ((base.mmc3.chr_regs_1k[0] >> 1) & 0x01);
if (reg0 == 1)
{
addr |= 0x40;
bank_8k |= 0x40;
}
else
{
addr |= 0x00;
bank_8k |= 0x00;
}
addr = (bank_8k << 13) | (addr & 0x1FFF);