From 146baad8d33b5cfbb2e18ecd207a6aa68e3bd556 Mon Sep 17 00:00:00 2001 From: Souryo Date: Fri, 30 Dec 2016 18:31:50 -0500 Subject: [PATCH] UI: Fixed window size issue when switching between NSF files and games --- GUI.NET/Forms/frmMain.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GUI.NET/Forms/frmMain.cs b/GUI.NET/Forms/frmMain.cs index eacb219a..91609ddb 100644 --- a/GUI.NET/Forms/frmMain.cs +++ b/GUI.NET/Forms/frmMain.cs @@ -396,6 +396,9 @@ namespace Mesen.GUI.Forms InitializeStateMenu(mnuSaveState, true); InitializeStateMenu(mnuLoadState, false); this.StartEmuThread(); + this.BeginInvoke((MethodInvoker)(() => { + UpdateViewerSize(); + })); break; case InteropEmu.ConsoleNotificationType.PpuFrameDone: