From 0cece7918a6e0a835aca50055fa280b8e36453c2 Mon Sep 17 00:00:00 2001 From: adityaruplaha Date: Tue, 17 Apr 2018 23:17:08 +0530 Subject: [PATCH] Log Citra version. Class: Frontend Level: Info Format: "Citra Version: " + window title --- src/citra/emu_window/emu_window_sdl2.cpp | 2 ++ src/citra_qt/main.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/citra/emu_window/emu_window_sdl2.cpp b/src/citra/emu_window/emu_window_sdl2.cpp index c35cfceb47..300f8c7913 100644 --- a/src/citra/emu_window/emu_window_sdl2.cpp +++ b/src/citra/emu_window/emu_window_sdl2.cpp @@ -134,6 +134,8 @@ EmuWindow_SDL2::EmuWindow_SDL2(bool fullscreen) { OnMinimalClientAreaChangeRequest(GetActiveConfig().min_client_area_size); SDL_PumpEvents(); SDL_GL_SetSwapInterval(Settings::values.use_vsync); + NGLOG_INFO(Frontend, "Citra Version: {} | {}-{}", Common::g_build_name, Common::g_scm_branch, + Common::g_scm_desc); DoneCurrent(); } diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index ab1e3b5c39..be70467677 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -134,6 +134,8 @@ GMainWindow::GMainWindow() : config(new Config()), emu_thread(nullptr) { ConnectWidgetEvents(); SetupUIStrings(); + NGLOG_INFO(Frontend, "Citra Version: {} | {}-{}", Common::g_build_name, Common::g_scm_branch, + Common::g_scm_desc); show();