summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/yuzu.cpp
diff options
context:
space:
mode:
authorCarl Kenner <carl.kenner@gmail.com>2018-10-05 05:22:49 +0200
committerCarl Kenner <carl.kenner@gmail.com>2018-10-07 04:54:04 +0200
commitf5f6292810dab70bc9be0fa4d9f37fe2b5544d86 (patch)
tree1ec449a6d6e33a36a3133de2196954a6967af9ad /src/yuzu_cmd/yuzu.cpp
parentMerge pull request #1450 from FearlessTobi/port-4312 (diff)
downloadyuzu-f5f6292810dab70bc9be0fa4d9f37fe2b5544d86.tar
yuzu-f5f6292810dab70bc9be0fa4d9f37fe2b5544d86.tar.gz
yuzu-f5f6292810dab70bc9be0fa4d9f37fe2b5544d86.tar.bz2
yuzu-f5f6292810dab70bc9be0fa4d9f37fe2b5544d86.tar.lz
yuzu-f5f6292810dab70bc9be0fa4d9f37fe2b5544d86.tar.xz
yuzu-f5f6292810dab70bc9be0fa4d9f37fe2b5544d86.tar.zst
yuzu-f5f6292810dab70bc9be0fa4d9f37fe2b5544d86.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu_cmd/yuzu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index 1d951ca3f..bab465c1d 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -75,6 +75,9 @@ static void InitializeLogging() {
const std::string& log_dir = FileUtil::GetUserPath(FileUtil::UserPath::LogDir);
FileUtil::CreateFullPath(log_dir);
Log::AddBackend(std::make_unique<Log::FileBackend>(log_dir + LOG_FILE));
+#ifdef _WIN32
+ Log::AddBackend(std::make_unique<Log::DebuggerBackend>());
+#endif
}
/// Application entry point