From e4f3c3beda0e897f6319e66069db1075e0b93b02 Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Mon, 10 Jul 2023 22:01:49 +0300 Subject: [PATCH] Bonk config.cpp --- src/config.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config.cpp b/src/config.cpp index 7dfc2cb5..6c9a8450 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -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(); -} \ No newline at end of file +}