From 4ccc31da44830c60257e1829b3ec115026e7a6c3 Mon Sep 17 00:00:00 2001 From: goyuken Date: Fri, 27 Dec 2013 22:26:59 +0000 Subject: [PATCH] cleanup of removed items in config, corecomm --- BizHawk.Client.Common/config/Config.cs | 36 +------------------ .../Interfaces/CoreComms.cs | 19 ---------- 2 files changed, 1 insertion(+), 54 deletions(-) diff --git a/BizHawk.Client.Common/config/Config.cs b/BizHawk.Client.Common/config/Config.cs index bd934506c3..b4d71646e8 100644 --- a/BizHawk.Client.Common/config/Config.cs +++ b/BizHawk.Client.Common/config/Config.cs @@ -390,24 +390,6 @@ namespace BizHawk.Client.Common public int SNESGraphicsDebuggerRefreshRate = 4; public bool SNESGraphicsUseUserBackdropColor = false; public int SNESGraphicsUserBackdropColor = -1; - //public string SNESPalette = "BizHawk"; - - // SNES Graphics settings - //bsnes allows the layers to be enabled for each priority level. - //this may not be important for the bg (there are two priority levels) - //but it may be useful for OBJ, so we might want to control them separately - //public bool SNES_ShowBG1_0 = true; - //public bool SNES_ShowBG2_0 = true; - //public bool SNES_ShowBG3_0 = true; - //public bool SNES_ShowBG4_0 = true; - //public bool SNES_ShowBG1_1 = true; - //public bool SNES_ShowBG2_1 = true; - //public bool SNES_ShowBG3_1 = true; - //public bool SNES_ShowBG4_1 = true; - //public bool SNES_ShowOBJ1 = true; - //public bool SNES_ShowOBJ2 = true; - //public bool SNES_ShowOBJ3 = true; - //public bool SNES_ShowOBJ4 = true; // PCE BG Viewer settings public bool PCEBGViewerSaveWIndowPosition = true; @@ -576,22 +558,11 @@ namespace BizHawk.Client.Common public Dictionary> AllTrollersAutoFire = new Dictionary>(); public Dictionary> AllTrollersAnalog = new Dictionary>(); - //SNES settings - //public string SNESProfile = "Compatibility"; - //public bool SNESUseRingBuffer = true; - //public bool SNESAlwaysDoubleSize = false; - //GB settings // as this setting spans multiple cores and doesn't actually affect the behavior of any core, // it hasn't been absorbed into the new system public bool GB_AsSGB = false; - //GIF Animator Settings - public int GifAnimatorNumFrames; - public int GifAnimatorFrameSkip; - public int GifAnimatorSpeed; - public bool GifAnimatorReversable; - //LuaWriter Settings public int LuaDefaultTextColor = -16777216; public bool LuaDefaultTextBold = false; @@ -615,16 +586,11 @@ namespace BizHawk.Client.Common public bool LuaWriterStartEmpty = false; } - #region Sub-classes TODO - it is about time to port these to separate files - + // these are used in the defctrl.json or wherever public class ControlDefaults { public Dictionary> AllTrollers = new Dictionary>(); public Dictionary> AllTrollersAutoFire = new Dictionary>(); public Dictionary> AllTrollersAnalog = new Dictionary>(); } - - - - #endregion } \ No newline at end of file diff --git a/BizHawk.Emulation.Common/Interfaces/CoreComms.cs b/BizHawk.Emulation.Common/Interfaces/CoreComms.cs index 20f8a928dd..04b0b929f5 100644 --- a/BizHawk.Emulation.Common/Interfaces/CoreComms.cs +++ b/BizHawk.Emulation.Common/Interfaces/CoreComms.cs @@ -7,27 +7,8 @@ namespace BizHawk.Emulation.Common { public class CoreComm { - //public int NES_BackdropColor; - //public bool NES_UnlimitedSprites = false; - //public bool NES_ShowBG = true, NES_ShowOBJ = true; - //public bool PCE_ShowBG1 = true, PCE_ShowOBJ1 = true, PCE_ShowBG2 = true, PCE_ShowOBJ2 = true; - //public bool SMS_ShowBG = true, SMS_ShowOBJ = true; - //public bool GG_ShowClippedRegions; - //public bool GG_HighlightActiveDisplayRegion; - public ICoreFileProvider CoreFileProvider; - //public string SNES_ExePath; - //public string SNES_Profile; - //public bool SNES_UseRingBuffer; - //public bool SNES_AlwaysDoubleSize; - - //public bool SNES_ShowBG1_0, SNES_ShowBG2_0, SNES_ShowBG3_0, SNES_ShowBG4_0; - //public bool SNES_ShowBG1_1, SNES_ShowBG2_1, SNES_ShowBG3_1, SNES_ShowBG4_1; - //public bool SNES_ShowOBJ_0, SNES_ShowOBJ_1, SNES_ShowOBJ_2, SNES_ShowOBJ_3; - - //public bool Atari2600_ShowBG = true, Atari2600_ShowPlayer1 = true, Atari2600_ShowPlayer2 = true, Atari2600_ShowMissle1 = true, Atari2600_ShowMissle2 = true, Atari2600_ShowBall = true, Atari2600_ShowPF = true; - /// /// if this is set, then the cpu should dump trace info to CpuTraceStream ///