mirror of https://github.com/PCSX2/pcsx2.git
recording: added new log sources
This commit is contained in:
parent
e3333a9b8c
commit
407224d29c
|
@ -295,6 +295,11 @@ static ConsoleLogSource* const ConLogSources[] =
|
|||
(ConsoleLogSource*)&pxConLog_Event,
|
||||
(ConsoleLogSource*)&pxConLog_Thread,
|
||||
(ConsoleLogSource*)&SysConsole.sysoutConsole
|
||||
NULL,
|
||||
#ifndef DISABLE_RECORDING
|
||||
(ConsoleLogSource*)&SysConsole.recordingConsole,
|
||||
(ConsoleLogSource*)&SysConsole.controlInfo,
|
||||
#endif
|
||||
};
|
||||
|
||||
// WARNING ConsoleLogSources & ConLogDefaults must have the same size
|
||||
|
@ -308,6 +313,11 @@ static const bool ConLogDefaults[] =
|
|||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
#ifndef DISABLE_RECORDING
|
||||
false,
|
||||
false,
|
||||
#endif
|
||||
false
|
||||
};
|
||||
|
||||
|
@ -339,7 +349,6 @@ void ConLog_LoadSaveSettings( IniInterface& ini )
|
|||
ConLogInitialized = true;
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------------------
|
||||
// ConsoleLogFrame (implementations)
|
||||
// --------------------------------------------------------------------------------------
|
||||
|
@ -565,6 +574,11 @@ void ConsoleLogFrame::OnLoggingChanged()
|
|||
}
|
||||
}
|
||||
|
||||
void ConsoleLogFrame::UpdateLogList()
|
||||
{
|
||||
OnLoggingChanged();
|
||||
}
|
||||
|
||||
// Implementation note: Calls SetColor and Write( text ). Override those virtuals
|
||||
// and this one will magically follow suite. :)
|
||||
bool ConsoleLogFrame::Write( ConsoleColors color, const wxString& text )
|
||||
|
|
|
@ -191,6 +191,8 @@ public:
|
|||
bool Write( ConsoleColors color, const wxString& text );
|
||||
bool Newline();
|
||||
|
||||
void UpdateLogList();
|
||||
|
||||
protected:
|
||||
// menu callbacks
|
||||
void OnOpen (wxCommandEvent& event);
|
||||
|
|
Loading…
Reference in New Issue