Now GSDX does not close the hosting application on the end of the GS Dump reproduction. (A dll shouldn't try to close the hosting application. That's bad behaviour.)

Fixed a little problem with the last commit. (I was pointing out of the string instead of the end. :P)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2656 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
feal87 2010-03-02 10:29:30 +00:00
parent 0bac0a6217
commit e0b9f75a3c
1 changed files with 1 additions and 2 deletions

View File

@ -364,7 +364,7 @@ EXPORT_C GSvsync(int field)
EXPORT_C_(uint32) GSmakeSnapshot(char* path)
{
string str = string(path);
if (str[str.length()] != '\\')
if (str[str.length() - 1] != '\\')
str = str + "\\";
return s_gs->MakeSnapshot(str + "gsdx");
}
@ -627,7 +627,6 @@ EXPORT_C GSReplay(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow)
fclose(fp);
}
PostQuitMessage(0);
}
EXPORT_C GSBenchmark(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow)