fix issue 290

This commit is contained in:
goyuken 2014-10-17 00:28:21 +00:00
parent 3dbd76900d
commit 74b4bd620d
1 changed files with 9 additions and 1 deletions

View File

@ -1258,7 +1258,15 @@ namespace BizHawk.Client.EmuHawk
private void SetWindowText()
{
string str = "";
if (Global.Emulator == null)
{
// in some weird cirumstances, this can get called too early before any emulator exists
// just ignore it
Text = "BizHawk";
return;
}
if (_inResizeLoop)
{
var size = GlobalWin.PresentationPanel.NativeSize;