Disable Atari7800Hawk from release builds
This commit is contained in:
parent
9c586e77c4
commit
6dcaebb0d7
|
@ -838,9 +838,17 @@ namespace BizHawk.Client.Common
|
|||
case "A78":
|
||||
var gamedbpath = Path.Combine(PathManager.GetExeDirectoryAbsolute(), "gamedb", "EMU7800.csv");
|
||||
|
||||
nextEmulator = Global.Config.A78_UseEmu7800
|
||||
? nextEmulator = new Atari7800(nextComm, game, rom.RomData, gamedbpath)
|
||||
: nextEmulator = new A7800Hawk(nextComm, game, rom.RomData, gamedbpath);
|
||||
if (!VersionInfo.DeveloperBuild)
|
||||
{
|
||||
nextEmulator = new Atari7800(nextComm, game, rom.RomData, gamedbpath); // Don't expose A7800Hawk in releases yet
|
||||
}
|
||||
else
|
||||
{
|
||||
nextEmulator = Global.Config.A78_UseEmu7800
|
||||
? nextEmulator = new Atari7800(nextComm, game, rom.RomData, gamedbpath)
|
||||
: nextEmulator = new A7800Hawk(nextComm, game, rom.RomData, gamedbpath);
|
||||
}
|
||||
|
||||
break;
|
||||
case "C64":
|
||||
var c64 = new C64(nextComm, Enumerable.Repeat(rom.RomData, 1), rom.GameInfo, GetCoreSettings<C64>(), GetCoreSyncSettings<C64>());
|
||||
|
|
|
@ -1211,6 +1211,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void CoresSubMenu_DropDownOpened(object sender, EventArgs e)
|
||||
{
|
||||
Atari7800WithEmu7800MenuItem.Visible = VersionInfo.DeveloperBuild; // Don't expose Atari7800Hawk in releases yet
|
||||
|
||||
GBInSGBMenuItem.Checked = Global.Config.GB_AsSGB;
|
||||
NesInQuickNESMenuItem.Checked = Global.Config.NES_InQuickNES;
|
||||
gBAWithMGBAToolStripMenuItem.Checked = Global.Config.GBA_UsemGBA;
|
||||
|
|
Loading…
Reference in New Issue