From 63c31af8ee547f946635e5cfe4e4fa9e601eb613 Mon Sep 17 00:00:00 2001 From: Pat Date: Sat, 14 Sep 2019 20:28:39 +1000 Subject: [PATCH] Added Host CPU and OS to log --- src/citra_qt/main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 482dd6f10..1b27b1860 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -61,6 +62,9 @@ #include "common/microprofile.h" #include "common/scm_rev.h" #include "common/scope_exit.h" +#ifdef ARCHITECTURE_x86_64 +#include "common/x64/cpu_detect.h" +#endif #include "core/core.h" #include "core/dumping/backend.h" #include "core/file_sys/archive_extsavedata.h" @@ -169,6 +173,10 @@ GMainWindow::GMainWindow() : config(new Config()), emu_thread(nullptr) { LOG_INFO(Frontend, "Citra Version: {} | {}-{}", Common::g_build_fullname, Common::g_scm_branch, Common::g_scm_desc); +#ifdef ARCHITECTURE_x86_64 + LOG_INFO(Frontend, "Host CPU: {}", Common::GetCPUCaps().cpu_string); +#endif + LOG_INFO(Frontend, "Host OS: {}", QSysInfo::prettyProductName().toStdString()); UpdateWindowTitle(); show();