summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/config.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-27 04:53:42 +0200
committerGitHub <noreply@github.com>2018-04-27 04:53:42 +0200
commit4f120a9ec0ce7a20d7bb0dc60342c42a60ed8c43 (patch)
tree588b3f4d379ae16461cb0a24d800f7cbc330d577 /src/yuzu_cmd/config.cpp
parentMerge pull request #407 from lioncash/common (diff)
parentfrontends: Move logging macros over to new fmt-capable ones (diff)
downloadyuzu-4f120a9ec0ce7a20d7bb0dc60342c42a60ed8c43.tar
yuzu-4f120a9ec0ce7a20d7bb0dc60342c42a60ed8c43.tar.gz
yuzu-4f120a9ec0ce7a20d7bb0dc60342c42a60ed8c43.tar.bz2
yuzu-4f120a9ec0ce7a20d7bb0dc60342c42a60ed8c43.tar.lz
yuzu-4f120a9ec0ce7a20d7bb0dc60342c42a60ed8c43.tar.xz
yuzu-4f120a9ec0ce7a20d7bb0dc60342c42a60ed8c43.tar.zst
yuzu-4f120a9ec0ce7a20d7bb0dc60342c42a60ed8c43.zip
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
-rw-r--r--src/yuzu_cmd/config.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index 8b479bc6d..675f9cafa 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -27,17 +27,17 @@ bool Config::LoadINI(const std::string& default_contents, bool retry) {
const char* location = this->sdl2_config_loc.c_str();
if (sdl2_config->ParseError() < 0) {
if (retry) {
- LOG_WARNING(Config, "Failed to load %s. Creating file from defaults...", location);
+ NGLOG_WARNING(Config, "Failed to load {}. Creating file from defaults...", location);
FileUtil::CreateFullPath(location);
FileUtil::WriteStringToFile(true, default_contents, location);
sdl2_config = std::make_unique<INIReader>(location); // Reopen file
return LoadINI(default_contents, false);
}
- LOG_ERROR(Config, "Failed.");
+ NGLOG_ERROR(Config, "Failed.");
return false;
}
- LOG_INFO(Config, "Successfully loaded %s", location);
+ NGLOG_INFO(Config, "Successfully loaded {}", location);
return true;
}