quick and dirty core selection setting for NES

This commit is contained in:
goyuken 2014-01-07 00:34:40 +00:00
parent 803863b305
commit 9546d11f40
4 changed files with 345 additions and 289 deletions

View File

@ -351,7 +351,7 @@ namespace BizHawk.Client.Common
nextEmulator = new TI83(nextComm, game, rom.RomData);
break;
case "NES":
if (false)
if (!Global.Config.NES_InQuickNES)
{
nextEmulator = new NES(
nextComm,

View File

@ -558,10 +558,11 @@ namespace BizHawk.Client.Common
public Dictionary<string, Dictionary<string, string>> AllTrollersAutoFire = new Dictionary<string, Dictionary<string, string>>();
public Dictionary<string, Dictionary<string, AnalogBind>> AllTrollersAnalog = new Dictionary<string, Dictionary<string, AnalogBind>>();
//GB settings
// Core Pick
// 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;
public bool NES_InQuickNES = false;
//LuaWriter Settings
public int LuaDefaultTextColor = -16777216;

File diff suppressed because it is too large Load Diff

View File

@ -3219,5 +3219,21 @@ namespace BizHawk.Client.EmuHawk
}
#endregion
private void coreSelectionToolStripMenuItem_Click(object sender, EventArgs e)
{
gBInSGBToolStripMenuItem.Checked = Global.Config.GB_AsSGB;
nESInQuickNESToolStripMenuItem.Checked = Global.Config.NES_InQuickNES;
}
private void gBInSGBToolStripMenuItem_Click(object sender, EventArgs e)
{
Global.Config.GB_AsSGB ^= true;
}
private void nESInQuickNESToolStripMenuItem_Click(object sender, EventArgs e)
{
Global.Config.NES_InQuickNES ^= true;
}
}
}