1
0
Fork 0

Merge pull request #4944 from jroweboy/hostlog

Added Host CPU and OS to log
This commit is contained in:
James Rowe 2019-09-20 20:38:24 -06:00 committed by GitHub
commit 04ca7bbc73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,7 @@
#include <QFileDialog>
#include <QFutureWatcher>
#include <QMessageBox>
#include <QSysInfo>
#include <QtConcurrent/QtConcurrentRun>
#include <QtGui>
#include <QtWidgets>
@ -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();