mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-06 01:12:33 +00:00
merge fixes
This commit is contained in:
parent
2015252435
commit
942791c763
@ -676,7 +676,7 @@ void load(const std::filesystem::path& path) {
|
|||||||
|
|
||||||
m_language = toml::find_or<int>(settings, "consoleLanguage", 1);
|
m_language = toml::find_or<int>(settings, "consoleLanguage", 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data.contains("Keys")) {
|
if (data.contains("Keys")) {
|
||||||
const toml::value& keys = data.at("keys");
|
const toml::value& keys = data.at("keys");
|
||||||
trophyKey = toml::find_or<std::string>(keys, "TrophyKey", "");
|
trophyKey = toml::find_or<std::string>(keys, "TrophyKey", "");
|
||||||
@ -741,7 +741,7 @@ void save(const std::filesystem::path& path) {
|
|||||||
data["Audio"]["backend"] = audioBackend;
|
data["Audio"]["backend"] = audioBackend;
|
||||||
data["Debug"]["DebugDump"] = isDebugDump;
|
data["Debug"]["DebugDump"] = isDebugDump;
|
||||||
data["Debug"]["CollectShader"] = isShaderDebug;
|
data["Debug"]["CollectShader"] = isShaderDebug;
|
||||||
|
|
||||||
data["Keys"]["TrophyKey"] = trophyKey;
|
data["Keys"]["TrophyKey"] = trophyKey;
|
||||||
|
|
||||||
std::vector<std::string> install_dirs;
|
std::vector<std::string> install_dirs;
|
||||||
|
@ -13,6 +13,7 @@ enum HideCursorState : s16 { Never, Idle, Always };
|
|||||||
|
|
||||||
void load(const std::filesystem::path& path);
|
void load(const std::filesystem::path& path);
|
||||||
void save(const std::filesystem::path& path);
|
void save(const std::filesystem::path& path);
|
||||||
|
void saveMainWindow(const std::filesystem::path& path);
|
||||||
|
|
||||||
std::string getTrophyKey();
|
std::string getTrophyKey();
|
||||||
void setTrophyKey(std::string key);
|
void setTrophyKey(std::string key);
|
||||||
|
Loading…
Reference in New Issue
Block a user