mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-13 17:50:13 +01:00
Log window: Fix behavior of some menu items
Previously the Enable all / Disable all / Restore defaults menu options ignored the status of Dev/verbose and CDVD reads. The following commit makes them to also impact the other two menu items.
This commit is contained in:
1 parent
af855bc295
commit
fea95c2951
1 file changed
+6
@@ -510,6 +510,8 @@ void ConsoleLogFrame::OnEnableAllLogging(wxCommandEvent& evt)
|
||||
if (ConsoleLogSource* log = ConLogSources[i])
|
||||
log->Enabled = true;
|
||||
}
|
||||
DevConWriterEnabled = true;
|
||||
g_Conf->EmuOptions.CdvdVerboseReads = true;
|
||||
|
||||
OnLoggingChanged();
|
||||
evt.Skip();
|
||||
@@ -523,6 +525,8 @@ void ConsoleLogFrame::OnDisableAllLogging(wxCommandEvent& evt)
|
||||
if (ConsoleLogSource* log = ConLogSources[i])
|
||||
log->Enabled = false;
|
||||
}
|
||||
DevConWriterEnabled = false;
|
||||
g_Conf->EmuOptions.CdvdVerboseReads = false;
|
||||
|
||||
OnLoggingChanged();
|
||||
evt.Skip();
|
||||
@@ -536,6 +540,8 @@ void ConsoleLogFrame::OnSetDefaultLogging(wxCommandEvent& evt)
|
||||
if (ConsoleLogSource* log = ConLogSources[i])
|
||||
log->Enabled = ConLogDefaults[i];
|
||||
}
|
||||
DevConWriterEnabled = false;
|
||||
g_Conf->EmuOptions.CdvdVerboseReads = false;
|
||||
|
||||
OnLoggingChanged();
|
||||
evt.Skip();
|
||||
|
||||
Reference in new issue
Block a user