Temporary fix for the ROM loading crash issue. Will report if it crashes again.

This commit is contained in:
brandman211 2012-06-09 02:24:19 +00:00
parent 3b54bd268a
commit f716caeae5
1 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ namespace BizHawk.MultiClient
public string GetControllersAsMnemonic()
{
if (Global.Emulator.SystemId == "NULL")
if (Global.Emulator.SystemId == "NULL" || ControlType == "NULL Controller")
return "|.|";
StringBuilder input = new StringBuilder("|");
@ -386,7 +386,7 @@ namespace BizHawk.MultiClient
/// </summary>
public void SetControllersAsMnemonic(string mnemonic)
{
if (Global.Emulator.SystemId == "NULL")
if (Global.Emulator.SystemId == "NULL" || ControlType == "NULL Controller")
return;
MnemonicChecker c = new MnemonicChecker(mnemonic);