Merge pull request #625 from LuigiBlood/64dd
Potential Windows 10 BSOD FIX
This commit is contained in:
commit
e8f3c969fe
|
@ -208,6 +208,9 @@ bool CN64System::RunFileImage ( const char * FileLoc )
|
||||||
g_Notify->AddRecentRom(FileLoc);
|
g_Notify->AddRecentRom(FileLoc);
|
||||||
g_Notify->SetWindowCaption(g_Settings->LoadString(Game_GoodName).ToUTF16().c_str());
|
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)
|
if (g_Settings->LoadDword(Setting_AutoStart) != 0)
|
||||||
{
|
{
|
||||||
g_BaseSystem = new CN64System(g_Plugins,false);
|
g_BaseSystem = new CN64System(g_Plugins,false);
|
||||||
|
@ -216,8 +219,6 @@ bool CN64System::RunFileImage ( const char * FileLoc )
|
||||||
g_BaseSystem->StartEmulation(true);
|
g_BaseSystem->StartEmulation(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
g_Settings->SaveBool(GameRunning_LoadingInProgress,false);
|
|
||||||
g_Notify->RefreshMenu();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue