mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-18 03:31:31 +12:00
Bonk config.cpp
This commit is contained in:
parent
5372fe6e43
commit
e4f3c3beda
1 changed files with 3 additions and 3 deletions
|
@ -49,9 +49,9 @@ void EmulatorConfig::save(const std::filesystem::path& path) {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (error) {
|
if (error) {
|
||||||
Helpers::warn("FileSystem error accessing %s %s\n", path.string().c_str(), error.message().c_str());
|
Helpers::warn("Filesystem error accessing %s (error: %s)\n", path.string().c_str(), error.message().c_str());
|
||||||
}
|
}
|
||||||
Helpers::warn("Saving new configuration file %s \n", path.string().c_str());
|
printf("Saving new configuration file %s\n", path.string().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
data["GPU"]["EnableShaderJIT"] = shaderJitEnabled;
|
data["GPU"]["EnableShaderJIT"] = shaderJitEnabled;
|
||||||
|
@ -59,4 +59,4 @@ void EmulatorConfig::save(const std::filesystem::path& path) {
|
||||||
std::ofstream file(path, std::ios::out);
|
std::ofstream file(path, std::ios::out);
|
||||||
file << data;
|
file << data;
|
||||||
file.close();
|
file.close();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue