mirror of https://github.com/PCSX2/pcsx2.git
No more sandwiches...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2180 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
02d431a1c1
commit
9cc890987d
|
@ -105,8 +105,15 @@ namespace Implementations
|
|||
// FIXME: Some of the trace logs will require recompiler resets to be activated properly.
|
||||
// But since those haven't been implemented yet, no point in implementing that here either.
|
||||
|
||||
char* message;
|
||||
const_cast<Pcsx2Config&>(EmuConfig).Trace.Enabled = !EmuConfig.Trace.Enabled;
|
||||
GSprintf(10, EmuConfig.Trace.Enabled ? "Logging Enabled." : "Logging Disabled.");
|
||||
|
||||
if (EmuConfig.Trace.Enabled)
|
||||
sprintf(message, "Logging Enabled.");
|
||||
else
|
||||
sprintf(message, "Logging Disabled.");
|
||||
|
||||
GSprintf(10, message);
|
||||
}
|
||||
|
||||
void Sys_FreezeGS()
|
||||
|
|
|
@ -211,9 +211,9 @@ static __releaseinline void IopHwTraceLog( u32 addr, T val, const char* modestr
|
|||
temp[(sizeof temp)-3] = '0' + (sizeof(T)*2);
|
||||
|
||||
if( const char* regname = _log_GetIopHwName<T>( addr, val ) )
|
||||
PSXHW_LOG( temp, modestr, (sizeof T) * 8, regname, addr, val );
|
||||
PSXHW_LOG( temp, modestr, (sizeof (T)) * 8, regname, addr, val );
|
||||
else
|
||||
PSXUnkHW_LOG( temp, modestr, (sizeof T) * 8, "Unknown", addr, val );
|
||||
PSXUnkHW_LOG( temp, modestr, (sizeof (T)) * 8, "Unknown", addr, val );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue