mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 04:29:13 +12:00
Add portable build option
This commit is contained in:
parent
1f8194dfa3
commit
20b692ae72
3 changed files with 16 additions and 3 deletions
|
@ -36,6 +36,7 @@ void EmulatorConfig::load(const std::filesystem::path& path) {
|
|||
auto general = generalResult.unwrap();
|
||||
|
||||
discordRpcEnabled = toml::find_or<toml::boolean>(general, "EnableDiscordRPC", false);
|
||||
usePortableBuild = toml::find_or<toml::boolean>(general, "UsePortableBuild", false);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -102,6 +103,7 @@ void EmulatorConfig::save(const std::filesystem::path& path) {
|
|||
}
|
||||
|
||||
data["General"]["EnableDiscordRPC"] = discordRpcEnabled;
|
||||
data["General"]["UsePortableBuild"] = usePortableBuild;
|
||||
data["GPU"]["EnableShaderJIT"] = shaderJitEnabled;
|
||||
data["GPU"]["Renderer"] = std::string(Renderer::typeToString(rendererType));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue