From 39ff347483a33dbe10b4d17f3d1f3d8a3ce47462 Mon Sep 17 00:00:00 2001 From: goyuken Date: Tue, 10 Dec 2013 18:05:54 +0000 Subject: [PATCH] delete unused "SoundOn" variable from NES core. not sure what the idea was here? --- BizHawk.Client.EmuHawk/MainForm.cs | 1 - BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Core.cs | 1 - 2 files changed, 2 deletions(-) diff --git a/BizHawk.Client.EmuHawk/MainForm.cs b/BizHawk.Client.EmuHawk/MainForm.cs index 5d5bfd57bd..2f9636553a 100644 --- a/BizHawk.Client.EmuHawk/MainForm.cs +++ b/BizHawk.Client.EmuHawk/MainForm.cs @@ -3199,7 +3199,6 @@ namespace BizHawk.Client.EmuHawk { var nes = new NES(nextComm, game, rom.FileData, Global.MovieSession.Movie.Header.BoardProperties) { - SoundOn = Global.Config.SoundEnabled, NTSC_FirstDrawLine = Global.Config.NTSC_NESTopLine, NTSC_LastDrawLine = Global.Config.NTSC_NESBottomLine, PAL_FirstDrawLine = Global.Config.PAL_NESTopLine diff --git a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Core.cs b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Core.cs index df200ca518..27ba084b00 100644 --- a/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Core.cs +++ b/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Core.cs @@ -29,7 +29,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES CartInfo cart; //the current cart prototype. should be moved into the board, perhaps INESBoard board; //the board hardware that is currently driving things EDetectionOrigin origin = EDetectionOrigin.None; - public bool SoundOn = true; int sprdma_countdown; bool _irq_apu; //various irq signals that get merged to the cpu irq pin /// clock speed of the main cpu in hz