Potential fix for a crash that sometimes very rarely occurred when loading the emulator

This commit is contained in:
Souryo 2015-07-14 21:53:01 -04:00
parent ebf35e52ed
commit 3dfacb7289

View File

@ -28,6 +28,11 @@ namespace Mesen.GUI.Forms
{
Application.ThreadException += Application_ThreadException;
InitializeComponent();
}
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
_notifListener = new InteropEmu.NotificationListener();
_notifListener.OnNotification += _notifListener_OnNotification;