Skip to content

Commit

Permalink
Fix PPSSPP shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
PGGB committed Sep 15, 2013
1 parent a728698 commit 2e32ecc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PPSSPPGameCore.mm
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 110,11 @@ - (BOOL)loadFileAtPath:(NSString *)path

- (void)stopEmulation
{
// We need a OpenGL context here, because PPSSPP cleans up framebuffers at this point
[[self renderDelegate] willRenderOnAlternateThread];
[[self renderDelegate] startRenderingOnAlternateThread];
PSP_Shutdown();
[[self renderDelegate] didRenderFrameOnAlternateThread];

NativeShutdownGraphics();
NativeShutdown();
Expand Down

0 comments on commit 2e32ecc

Please sign in to comment.