Potential Windows 10 BSOD FIX

This commit is contained in:
luigiblood 2015-09-23 17:45:39 +02:00
parent e6dd517b35
commit 19a6beab80
1 changed files with 3 additions and 2 deletions

View File

@ -208,6 +208,9 @@ bool CN64System::RunFileImage ( const char * FileLoc )
g_Notify->AddRecentRom(FileLoc);
g_Notify->SetWindowCaption(g_Settings->LoadString(Game_GoodName).ToUTF16().c_str());
g_Settings->SaveBool(GameRunning_LoadingInProgress, false);
g_Notify->RefreshMenu();
if (g_Settings->LoadDword(Setting_AutoStart) != 0)
{
g_BaseSystem = new CN64System(g_Plugins,false);
@ -216,8 +219,6 @@ bool CN64System::RunFileImage ( const char * FileLoc )
g_BaseSystem->StartEmulation(true);
}
}
g_Settings->SaveBool(GameRunning_LoadingInProgress,false);
g_Notify->RefreshMenu();
}
else
{