Qt: Fix rendering at unthrottled framerate while paused

This commit is contained in:
Connor McLaughlin
2022-07-23 00:39:58 +10:00
parent 667726bbb3
commit 68121c0f6b
2 changed files with 5 additions and 5 deletions

View File

@ -454,8 +454,8 @@ bool FullscreenUI::IsInitialized()
bool FullscreenUI::HasActiveWindow()
{
return s_current_main_window != MainWindowType::None || s_save_state_selector_open ||
ImGuiFullscreen::IsChoiceDialogOpen() || ImGuiFullscreen::IsFileSelectorOpen();
return s_initialized && (s_current_main_window != MainWindowType::None || s_save_state_selector_open ||
ImGuiFullscreen::IsChoiceDialogOpen() || ImGuiFullscreen::IsFileSelectorOpen());
}
void FullscreenUI::UpdateForcedVsync(bool should_force)