mainform: set INTERIM = false. do not load GBA games when INTERIM = false

This commit is contained in:
goyuken 2012-12-01 18:53:13 +00:00
parent d734d0f44f
commit 83b38d9eb4
1 changed files with 17 additions and 14 deletions

View File

@ -25,7 +25,7 @@ namespace BizHawk.MultiClient
public partial class MainForm : Form public partial class MainForm : Form
{ {
public bool INTERIM = true; public bool INTERIM = false;
public const string EMUVERSION = "Version " + VersionInfo.MAINVERSION; public const string EMUVERSION = "Version " + VersionInfo.MAINVERSION;
public const string RELEASEDATE = "October 20, 2012"; public const string RELEASEDATE = "October 20, 2012";
private Control renderTarget; private Control renderTarget;
@ -1902,6 +1902,8 @@ namespace BizHawk.MultiClient
nextEmulator = c64; nextEmulator = c64;
break; break;
case "GBA": case "GBA":
if (INTERIM)
{
string gbabiospath = PathManager.MakeAbsolutePath(Global.Config.PathGBABIOS, "GBA"); string gbabiospath = PathManager.MakeAbsolutePath(Global.Config.PathGBABIOS, "GBA");
byte[] gbabios = null; byte[] gbabios = null;
@ -1917,6 +1919,7 @@ namespace BizHawk.MultiClient
GBA gba = new GBA(); GBA gba = new GBA();
gba.Load(rom.RomData, gbabios); gba.Load(rom.RomData, gbabios);
nextEmulator = gba; nextEmulator = gba;
}
break; break;
} }
} }