diff --git a/Common/UI/UIScreen.cpp b/Common/UI/UIScreen.cpp index 69739dcc24..af640e49e8 100644 --- a/Common/UI/UIScreen.cpp +++ b/Common/UI/UIScreen.cpp @@ -111,6 +111,7 @@ void UIScreen::postRender() { if (!draw) { return; } + screenManager()->getUIContext()->Flush(); draw->EndFrame(); } diff --git a/UI/GameInfoCache.cpp b/UI/GameInfoCache.cpp index ceef80cedd..2a6ff5b33f 100644 --- a/UI/GameInfoCache.cpp +++ b/UI/GameInfoCache.cpp @@ -365,7 +365,7 @@ public: } // In case of a remote file, check if it actually exists before locking. - if (!info_->GetFileLoader()->Exists()) { + if (!info_->GetFileLoader() || !info_->GetFileLoader()->Exists()) { return; }