summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid <25727384+ogniK5377@users.noreply.github.com>2019-09-21 15:46:58 +0200
committerGitHub <noreply@github.com>2019-09-21 15:46:58 +0200
commit97b8c9d2c380f11c41b038b6e16466f1fe95526f (patch)
treec17297f338a69d6a5e3fbec56d5807a77b6bdf35
parentMerge pull request #2806 from FearlessTobi/port-4882 (diff)
parentAdded Host CPU and OS to log (diff)
downloadyuzu-97b8c9d2c380f11c41b038b6e16466f1fe95526f.tar
yuzu-97b8c9d2c380f11c41b038b6e16466f1fe95526f.tar.gz
yuzu-97b8c9d2c380f11c41b038b6e16466f1fe95526f.tar.bz2
yuzu-97b8c9d2c380f11c41b038b6e16466f1fe95526f.tar.lz
yuzu-97b8c9d2c380f11c41b038b6e16466f1fe95526f.tar.xz
yuzu-97b8c9d2c380f11c41b038b6e16466f1fe95526f.tar.zst
yuzu-97b8c9d2c380f11c41b038b6e16466f1fe95526f.zip
-rw-r--r--src/yuzu/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 8304c6517..1dcfac258 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -54,6 +54,7 @@ static FileSys::VirtualFile VfsDirectoryCreateFileWrapper(const FileSys::Virtual
#include <QProgressDialog>
#include <QShortcut>
#include <QStatusBar>
+#include <QSysInfo>
#include <QtConcurrent/QtConcurrent>
#include <fmt/format.h>
@@ -66,6 +67,9 @@ static FileSys::VirtualFile VfsDirectoryCreateFileWrapper(const FileSys::Virtual
#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 "common/telemetry.h"
#include "core/core.h"
#include "core/crypto/key_manager.h"
@@ -205,6 +209,10 @@ GMainWindow::GMainWindow()
LOG_INFO(Frontend, "yuzu 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();