From f91a6139cd51ca5f583e0efa89191300d49b013d Mon Sep 17 00:00:00 2001 From: adelikat Date: Fri, 14 Oct 2016 15:21:16 -0500 Subject: [PATCH] NESHawk - AVI-NINA 6 - mask the chr bank value --- .../Consoles/Nintendo/NES/Boards/AVE-NINA.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/AVE-NINA.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/AVE-NINA.cs index 074d7182c2..22aa7188e0 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/AVE-NINA.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/AVE-NINA.cs @@ -193,7 +193,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES { if (addr < 0x2000) { - addr |= (chr_bank_8k << 13); + addr |= ((chr_bank_8k & chr_bank_mask_8k) << 13); return VROM[addr]; } else