Update GuiClass.cpp

Fixed cannot start the emulation in Win10.
This commit is contained in:
Nekokabu 2016-07-02 22:35:11 +09:00 committed by GitHub
parent c8cd2914a6
commit 5ef8beeacb
1 changed files with 2 additions and 2 deletions

View File

@ -214,8 +214,8 @@ void CMainGui::GameCpuRunning(CMainGui * Gui)
{ {
if (g_Settings->LoadBool(GameRunning_CPU_Running)) if (g_Settings->LoadBool(GameRunning_CPU_Running))
{ {
Gui->HideRomList();
Gui->MakeWindowOnTop(UISettingsLoadBool(UserInterface_AlwaysOnTop)); Gui->MakeWindowOnTop(UISettingsLoadBool(UserInterface_AlwaysOnTop));
Gui->HideRomList();
if (UISettingsLoadBool(Setting_AutoFullscreen)) if (UISettingsLoadBool(Setting_AutoFullscreen))
{ {
WriteTrace(TraceUserInterface, TraceDebug, "15"); WriteTrace(TraceUserInterface, TraceDebug, "15");
@ -1337,4 +1337,4 @@ BOOL set_about_field(HWND hDlg, int nIDDlgItem, const wchar_t * config_string, c
swprintf(temp_string, sizeof(temp_string) / sizeof(temp_string[0]), L"%s: %s", config_string, language_string); swprintf(temp_string, sizeof(temp_string) / sizeof(temp_string[0]), L"%s: %s", config_string, language_string);
return SetDlgItemTextW(hDlg, nIDDlgItem, temp_string); return SetDlgItemTextW(hDlg, nIDDlgItem, temp_string);
} }