Fixes Dragon Quest 7
This commit is contained in:
parent
08e303e398
commit
41bf579728
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue