mirror of https://github.com/PCSX2/pcsx2.git
zzogl-pg: fix a potential issue when logging is disabled
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3767 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
40fa31a64e
commit
997db8ef05
|
@ -164,9 +164,11 @@ void Greg_Log(const char *fmt, ...)
|
|||
|
||||
va_start(list, fmt);
|
||||
|
||||
if (IsLogging()) {
|
||||
fprintf(gsLog, "GRegs: ");
|
||||
vfprintf(gsLog, fmt, list);
|
||||
}
|
||||
//fprintf(stderr,"GRegs: ");
|
||||
if (IsLogging()) vfprintf(gsLog, fmt, list);
|
||||
//vfprintf(stderr, fmt, list);
|
||||
|
||||
va_end(list);
|
||||
|
|
Loading…
Reference in New Issue