settings: only log cpu_ticks if custom_cpu_ticks is enabled
Some checks failed
mandarine-build / source (push) Failing after 0s
mandarine-build / linux (appimage) (push) Has been cancelled
mandarine-build / linux (fresh) (push) Has been cancelled
mandarine-build / macos (arm64) (push) Has been cancelled
mandarine-build / macos (x86_64) (push) Has been cancelled
mandarine-build / windows (msvc) (push) Has been cancelled
mandarine-build / windows (msys2) (push) Has been cancelled
mandarine-build / android (push) Has been cancelled
mandarine-format / clang-format (push) Has been cancelled
mandarine-build / macos-universal (push) Has been cancelled
mandarine-build / release (push) Has been cancelled

This commit is contained in:
Gamer64 2024-09-22 18:45:06 +02:00
parent 5cf9dc98fc
commit 5b89098255

View File

@ -85,7 +85,9 @@ void LogSettings() {
log_setting("Core_CPUClockPercentage", values.cpu_clock_percentage.GetValue());
log_setting("Core_FrameSkip", values.frame_skip.GetValue());
log_setting("Core_CustomCPUTicks", values.custom_cpu_ticks.GetValue());
log_setting("Core_CPUTicks", values.cpu_ticks.GetValue());
if (values.custom_cpu_ticks) {
log_setting("Core_CPUTicks", values.cpu_ticks.GetValue());
}
log_setting("Core_ReduceDowncountSlice", values.reduce_downcount_slice.GetValue());
log_setting("Core_PriorityBoostStarvedThreads",
values.priority_boost_starved_threads.GetValue());
@ -134,7 +136,7 @@ void LogSettings() {
log_setting("Audio_InputType", values.input_type.GetValue());
log_setting("Audio_InputDevice", values.input_device.GetValue());
log_setting("Audio_EnableAudioStretching", values.enable_audio_stretching.GetValue());
log_setting("Audio_EnableRealtime", values.enable_realtime_audio.GetValue());
log_setting("Audio_EnableRealtimeAudio", values.enable_realtime_audio.GetValue());
using namespace Service::CAM;
log_setting("Camera_OuterRightName", values.camera_name[OuterRightCamera]);
log_setting("Camera_OuterRightConfig", values.camera_config[OuterRightCamera]);