Skip to content

Commit

Permalink
Fix crash when loading a ppdmp while another ppdmp is displaying
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Feb 2, 2024
1 parent 7d894b8 commit d6b109b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/EmuScreen.cpp
Expand Up @@ -1458,7 +1458,7 @@ ScreenRenderFlags EmuScreen::render(ScreenRenderMode mode) {
Achievements::FrameUpdate();
}

if (gpu->PresentedThisFrame()) {
if (gpu && gpu->PresentedThisFrame()) {
framebufferBound = true;
}

Expand Down

0 comments on commit d6b109b

Please sign in to comment.