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/citra.cpp | |
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/citra.cpp')
-rw-r--r-- | src/citra/citra.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/citra/citra.cpp b/src/citra/citra.cpp index 69f0b35b3..2c6ced920 100644 --- a/src/citra/citra.cpp +++ b/src/citra/citra.cpp @@ -22,7 +22,8 @@ int __cdecl main(int argc, char **argv) { std::shared_ptr<Log::Logger> logger = Log::InitGlobalLogger(); Log::Filter log_filter(Log::Level::Debug); - 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(); |