Skip to content

Commit

Permalink
Paranoia
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed May 3, 2023
1 parent 1d053d2 commit a132b72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Common/UI/UIScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ void UIScreen::postRender() {
if (!draw) {
return;
}
screenManager()->getUIContext()->Flush();
draw->EndFrame();
}

Expand Down
2 changes: 1 addition & 1 deletion UI/GameInfoCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ class GameInfoWorkItem : public Task {
}

// In case of a remote file, check if it actually exists before locking.
if (!info_->GetFileLoader()->Exists()) {
if (!info_->GetFileLoader() || !info_->GetFileLoader()->Exists()) {
return;
}

Expand Down

0 comments on commit a132b72

Please sign in to comment.