Same fix for cdvdGigaherz as the last rev + workaround for ZeroGS so it also works in default Vista/Win7 installs.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3006 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2010-05-15 01:15:41 +00:00
parent 6cb3f00f68
commit 1d534c7481
2 changed files with 8 additions and 3 deletions

View File

@ -23,3 +23,4 @@ EXPORTS
CDVDgetBuffer2 @23
CDVDreadSector @24
CDVDgetDualInfo @25
CDVDsetSettingsDir @26

View File

@ -286,11 +286,15 @@ s32 CALLBACK GSinit()
if (gsLog == NULL) {
gsLog = fopen("gsLog.txt", "w");
if (gsLog == NULL) {
SysMessage("Can't create gsLog.txt"); return -1;
printf("ZeroGS: Can't create gsLog.txt. (Not an emulation error).\n");
//return -1;
}
}
setvbuf(gsLog, NULL, _IONBF, 0);
GS_LOG("GSinit\n");
if (gsLog != NULL) {
setvbuf(gsLog, NULL, _IONBF, 0);
GS_LOG("GSinit\n");
}
#endif
GSreset();