From 34d62dbcc1bd22c3261229b036005842431e7f91 Mon Sep 17 00:00:00 2001 From: rainmakerv2 <30595646+rainmakerv3@users.noreply.github.com> Date: Wed, 25 Dec 2024 15:51:30 +0800 Subject: [PATCH] Create new config entry to manually enable Pro mode --- src/common/config.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common/config.cpp b/src/common/config.cpp index 92fe04185..491d3c747 100644 --- a/src/common/config.cpp +++ b/src/common/config.cpp @@ -556,7 +556,7 @@ void load(const std::filesystem::path& path) { const toml::value& general = data.at("General"); // isNeo = toml::find_or(general, "isPS4Pro", false); - isNeo = false; + isNeo = toml::find_or(general, "isPS4Pro-temp", false); isFullscreen = toml::find_or(general, "Fullscreen", false); playBGM = toml::find_or(general, "playBGM", false); isTrophyPopupDisabled = toml::find_or(general, "isTrophyPopupDisabled", false); @@ -676,7 +676,8 @@ void save(const std::filesystem::path& path) { fmt::print("Saving new configuration file {}\n", fmt::UTF(path.u8string())); } - data["General"]["isPS4Pro"] = isNeo; + // data["General"]["isPS4Pro"] = isNeo; + data["General"]["isPS4Pro-temp"] = isNeo; data["General"]["Fullscreen"] = isFullscreen; data["General"]["isTrophyPopupDisabled"] = isTrophyPopupDisabled; data["General"]["playBGM"] = playBGM;