mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 15:00:30 +02:00
Don't save log levels set from the command line
--loglevel, -d and -v are applied to the channels directly, and the next config save wrote them to [Log], permanently replacing the user's levels. The other command line options avoid this with DoNotSaveSetting. The debugger had the same problem and a flag for it. Generalize that one (NotifyChannelsChangedByDebugger -> DoNotSaveChannels) and set it here too. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
ea9be99149
commit
ce19265949
4 files changed
+10
-8
No files matched your search
@@ -583,6 +583,7 @@ void CommandLineOptions::ApplyToConfig() const {
|
||||
|
||||
if (logLevel.has_value()) {
|
||||
g_logManager.SetAllLogLevels(logLevel.value());
|
||||
g_logManager.DoNotSaveChannels();
|
||||
}
|
||||
|
||||
if (oldAtrac.has_value()) {
|
||||
|
||||
Reference in new issue
Block a user