fix issue 290
This commit is contained in:
parent
3dbd76900d
commit
74b4bd620d
|
@ -1258,7 +1258,15 @@ namespace BizHawk.Client.EmuHawk
|
||||||
private void SetWindowText()
|
private void SetWindowText()
|
||||||
{
|
{
|
||||||
string str = "";
|
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)
|
if (_inResizeLoop)
|
||||||
{
|
{
|
||||||
var size = GlobalWin.PresentationPanel.NativeSize;
|
var size = GlobalWin.PresentationPanel.NativeSize;
|
||||||
|
|
Loading…
Reference in New Issue