diff options
author | bunnei <bunneidev@gmail.com> | 2015-03-09 20:42:18 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-03-09 20:42:18 +0100 |
commit | 3da94a597b5642c1b586700d72255589cf5a0cdf (patch) | |
tree | 9f73ded034bceaab1f7e41cf19fe987d19b2e083 /src/citra_qt | |
parent | Merge pull request #645 from lioncash/ldm (diff) | |
parent | Logging: check for filter before sending to the queue, to skip all heavy formatting on the other thread. (diff) | |
download | yuzu-3da94a597b5642c1b586700d72255589cf5a0cdf.tar yuzu-3da94a597b5642c1b586700d72255589cf5a0cdf.tar.gz yuzu-3da94a597b5642c1b586700d72255589cf5a0cdf.tar.bz2 yuzu-3da94a597b5642c1b586700d72255589cf5a0cdf.tar.lz yuzu-3da94a597b5642c1b586700d72255589cf5a0cdf.tar.xz yuzu-3da94a597b5642c1b586700d72255589cf5a0cdf.tar.zst yuzu-3da94a597b5642c1b586700d72255589cf5a0cdf.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 e3db3c20a..e5ca04124 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -316,7 +316,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(); |