diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-03-06 19:15:02 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-03-06 19:23:52 +0100 |
commit | 0aa44e238db7a72f4fb8b347168ec76c3ce48ad5 (patch) | |
tree | dba02c60d0a663708265089394c634a655417f9d /src/citra_qt | |
parent | Merge pull request #630 from archshift/swap (diff) | |
download | yuzu-0aa44e238db7a72f4fb8b347168ec76c3ce48ad5.tar yuzu-0aa44e238db7a72f4fb8b347168ec76c3ce48ad5.tar.gz yuzu-0aa44e238db7a72f4fb8b347168ec76c3ce48ad5.tar.bz2 yuzu-0aa44e238db7a72f4fb8b347168ec76c3ce48ad5.tar.lz yuzu-0aa44e238db7a72f4fb8b347168ec76c3ce48ad5.tar.xz yuzu-0aa44e238db7a72f4fb8b347168ec76c3ce48ad5.tar.zst yuzu-0aa44e238db7a72f4fb8b347168ec76c3ce48ad5.zip |
Diffstat (limited to 'src/citra_qt')
-rw-r--r-- | src/citra_qt/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 881c7d337..df7699921 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -310,7 +310,8 @@ int __cdecl main(int argc, char* argv[]) { std::shared_ptr<Log::Logger> logger = Log::InitGlobalLogger(); Log::Filter log_filter(Log::Level::Info); - std::thread logging_thread(Log::TextLoggingLoop, logger, &log_filter); + Log::SetFilter(&log_filter); + std::thread logging_thread(Log::TextLoggingLoop, logger); SCOPE_EXIT({ logger->Close(); logging_thread.join(); |