Bonk config.cpp

This commit is contained in:
wheremyfoodat 2023-07-10 22:01:49 +03:00 committed by GitHub
parent 5372fe6e43
commit e4f3c3beda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,9 +49,9 @@ void EmulatorConfig::save(const std::filesystem::path& path) {
}
} else {
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;
@ -59,4 +59,4 @@ void EmulatorConfig::save(const std::filesystem::path& path) {
std::ofstream file(path, std::ios::out);
file << data;
file.close();
}
}