From 798f7d754983db2fd98e3cd1308897cbe03518e0 Mon Sep 17 00:00:00 2001 From: alyosha-tas Date: Tue, 8 Nov 2016 22:46:47 -0500 Subject: [PATCH] Update for VS security settings --- BizHawk.Emulation.Cores/Consoles/Nintendo/NES/NES.Core.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/NES.Core.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/NES.Core.cs index 1dae982838..b65dd66fff 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/NES.Core.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/NES.Core.cs @@ -940,7 +940,9 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES } //since this will run for every VS game, let's get security setting too - _isVS2c05 = cart.vs_security; + //values below 16 are for the 2c05 PPU + //values 16,32,48 are for Namco games and dealt with in mapper 206 + _isVS2c05 = (byte)(cart.vs_security & 15); } }