summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfearlessTobi <thm.frey@gmail.com>2018-07-26 15:51:14 +0200
committerfearlessTobi <thm.frey@gmail.com>2018-07-26 15:51:14 +0200
commit6f05a577125878b35482d9c12f2dda5a731cace1 (patch)
tree210bff146a363abc641712cb9dedd57dabd3a041
parentMerge pull request #827 from lioncash/log (diff)
downloadyuzu-6f05a577125878b35482d9c12f2dda5a731cace1.tar
yuzu-6f05a577125878b35482d9c12f2dda5a731cace1.tar.gz
yuzu-6f05a577125878b35482d9c12f2dda5a731cace1.tar.bz2
yuzu-6f05a577125878b35482d9c12f2dda5a731cace1.tar.lz
yuzu-6f05a577125878b35482d9c12f2dda5a731cace1.tar.xz
yuzu-6f05a577125878b35482d9c12f2dda5a731cace1.tar.zst
yuzu-6f05a577125878b35482d9c12f2dda5a731cace1.zip
-rw-r--r--src/yuzu/main.cpp2
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 3c2726498..97273f967 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -101,6 +101,8 @@ GMainWindow::GMainWindow() : config(new Config()), emu_thread(nullptr) {
ConnectMenuEvents();
ConnectWidgetEvents();
+ LOG_INFO(Frontend, "yuzu Version: {} | {}-{}", Common::g_build_name, Common::g_scm_branch,
+ Common::g_scm_desc);
setWindowTitle(QString("yuzu %1| %2-%3")
.arg(Common::g_build_name, Common::g_scm_branch, Common::g_scm_desc));
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
index 72ba7d49c..e2945b6cf 100644
--- a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
@@ -164,6 +164,8 @@ EmuWindow_SDL2::EmuWindow_SDL2(bool fullscreen) {
OnResize();
OnMinimalClientAreaChangeRequest(GetActiveConfig().min_client_area_size);
SDL_PumpEvents();
+ LOG_INFO(Frontend, "yuzu Version: {} | {}-{}", Common::g_build_name, Common::g_scm_branch,
+ Common::g_scm_desc);
DoneCurrent();
}