diff --git a/src/common/config.cpp b/src/common/config.cpp index 3c8188734..866aafbfc 100644 --- a/src/common/config.cpp +++ b/src/common/config.cpp @@ -573,9 +573,10 @@ void load(const std::filesystem::path& path) { isNeo = toml::find_or(general, "isPS4Pro", isNeo); isDevKit = toml::find_or(general, "isDevKit", isDevKit); isPSNSignedIn = toml::find_or(general, "isPSNSignedIn", isPSNSignedIn); - isTrophyPopupDisabled = toml::find_or(general, "isTrophyPopupDisabled", isTrophyPopupDisabled); - trophyNotificationDuration = - toml::find_or(general, "trophyNotificationDuration", trophyNotificationDuration); + isTrophyPopupDisabled = + toml::find_or(general, "isTrophyPopupDisabled", isTrophyPopupDisabled); + trophyNotificationDuration = toml::find_or(general, "trophyNotificationDuration", + trophyNotificationDuration); enableDiscordRPC = toml::find_or(general, "enableDiscordRPC", enableDiscordRPC); logFilter = toml::find_or(general, "logFilter", logFilter); logType = toml::find_or(general, "logType", logType); @@ -583,8 +584,8 @@ void load(const std::filesystem::path& path) { isShowSplash = toml::find_or(general, "showSplash", isShowSplash); isSideTrophy = toml::find_or(general, "sideTrophy", isSideTrophy); compatibilityData = toml::find_or(general, "compatibilityEnabled", compatibilityData); - checkCompatibilityOnStartup = - toml::find_or(general, "checkCompatibilityOnStartup", checkCompatibilityOnStartup); + checkCompatibilityOnStartup = toml::find_or(general, "checkCompatibilityOnStartup", + checkCompatibilityOnStartup); chooseHomeTab = toml::find_or(general, "chooseHomeTab", chooseHomeTab); } @@ -595,8 +596,10 @@ void load(const std::filesystem::path& path) { cursorHideTimeout = toml::find_or(input, "cursorHideTimeout", cursorHideTimeout); useSpecialPad = toml::find_or(input, "useSpecialPad", useSpecialPad); specialPadClass = toml::find_or(input, "specialPadClass", specialPadClass); - isMotionControlsEnabled = toml::find_or(input, "isMotionControlsEnabled", isMotionControlsEnabled); - useUnifiedInputConfig = toml::find_or(input, "useUnifiedInputConfig", useUnifiedInputConfig); + isMotionControlsEnabled = + toml::find_or(input, "isMotionControlsEnabled", isMotionControlsEnabled); + useUnifiedInputConfig = + toml::find_or(input, "useUnifiedInputConfig", useUnifiedInputConfig); } if (data.contains("GPU")) { @@ -632,7 +635,8 @@ void load(const std::filesystem::path& path) { const toml::value& debug = data.at("Debug"); isDebugDump = toml::find_or(debug, "DebugDump", isDebugDump); - isSeparateLogFilesEnabled = toml::find_or(debug, "isSeparateLogFilesEnabled", isSeparateLogFilesEnabled); + isSeparateLogFilesEnabled = + toml::find_or(debug, "isSeparateLogFilesEnabled", isSeparateLogFilesEnabled); isShaderDebug = toml::find_or(debug, "CollectShader", isShaderDebug); isFpsColor = toml::find_or(debug, "FPSColor", isFpsColor); } @@ -664,7 +668,8 @@ void load(const std::filesystem::path& path) { save_data_path = toml::find_fs_path_or(gui, "saveDataPath", save_data_path); - settings_addon_install_dir = toml::find_fs_path_or(gui, "addonInstallDir", settings_addon_install_dir); + settings_addon_install_dir = + toml::find_fs_path_or(gui, "addonInstallDir", settings_addon_install_dir); } if (data.contains("Settings")) {