tastudio: tastudio's Emulator was dying if we unpause tasproj while tastudio isn't loaded, and then attempt to launch it.

This commit is contained in:
feos 2016-08-01 21:51:38 +03:00
parent 2894bb908d
commit 92bcca8b7d
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ namespace BizHawk.Client.EmuHawk
case "Pause":
// check this here since TogglePause() has no idea who triggered it
// and we need to treat pause hotkey specially in tastudio
if (GlobalWin.MainForm.EmulatorPaused)
if (GlobalWin.MainForm.EmulatorPaused && GlobalWin.Tools.IsLoaded<TAStudio>())
GlobalWin.Tools.TAStudio.IgnoreSeekFrame = true;
TogglePause();
break;