From d89d02a59f3a95dce9f22acb167afe2f62fe9d17 Mon Sep 17 00:00:00 2001 From: "ramapcsx2.code" Date: Sat, 25 Jan 2014 19:53:12 +0000 Subject: [PATCH] Refinement of the last patch. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5835 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/GSdx/GS.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/GSdx/GS.cpp b/plugins/GSdx/GS.cpp index f37381ff0b..e169677ccb 100644 --- a/plugins/GSdx/GS.cpp +++ b/plugins/GSdx/GS.cpp @@ -168,6 +168,8 @@ EXPORT_C GSshutdown() } #endif + + gsopen_done = false; } EXPORT_C GSclose() @@ -413,8 +415,6 @@ static int _GSopen(void** dsp, char* title, int renderer, int threads = -1) return -1; } - - gsopen_done = true; return 0; } @@ -459,6 +459,8 @@ EXPORT_C_(int) GSopen2(void** dsp, uint32 flags) if (s_gs != NULL) s_gs->SetAspectRatio(0); // PCSX2 manages the aspect ratios + gsopen_done = true; + return retval; } @@ -838,7 +840,7 @@ EXPORT_C GSgetLastTag(uint32* tag) EXPORT_C GSgetTitleInfo2(char* dest, size_t length) { if (gsopen_done == false) { - printf("GSdx: GSgetTitleInfo but GSOpen not yet done. Ignoring\n"); + //printf("GSdx: GSgetTitleInfo but GSOpen not yet done. Ignoring\n"); return; }