mirror of https://github.com/PCSX2/pcsx2.git
GSdx: Force the plugin to terminate via PostQuitMessage() when running GSReplay (fixes bug where GSdx would remain loaded in the background indefinitely).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1923 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
c97498d1f6
commit
93d4f5a39c
|
@ -562,11 +562,11 @@ EXPORT_C GSReplay(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow)
|
|||
while( LoopDatPacket_Thingamajig(hWnd, regs, buff, fp, start) ) ;
|
||||
|
||||
GSclose();
|
||||
|
||||
GSshutdown();
|
||||
|
||||
fclose(fp);
|
||||
}
|
||||
PostQuitMessage(0);
|
||||
}
|
||||
|
||||
EXPORT_C GSBenchmark(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow)
|
||||
|
@ -770,6 +770,7 @@ EXPORT_C GSBenchmark(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow
|
|||
//
|
||||
|
||||
fclose(file);
|
||||
PostQuitMessage(0);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue