From b963990449257c3c265a281ea092634df24f6215 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Mon, 5 Nov 2012 13:42:33 +0100 Subject: [PATCH] Fix cancelled-boot crash on Windows --- Windows/EmuThread.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Windows/EmuThread.cpp b/Windows/EmuThread.cpp index 8439fc30a8..d03fb4806c 100644 --- a/Windows/EmuThread.cpp +++ b/Windows/EmuThread.cpp @@ -104,10 +104,11 @@ DWORD TheThread(LPVOID x) host->PrepareShutdown(); -shutdown: PSP_Shutdown(); +shutdown: + host->ShutdownGL(); //The CPU should return when a game is stopped and cleanup should be done here,