1
0
Fork 0

Log Citra version.

Class: Frontend
Level: Info
Format: "Citra Version: " + window title
This commit is contained in:
adityaruplaha 2018-04-17 23:17:08 +05:30
parent 9c65a45358
commit 0cece7918a
2 changed files with 4 additions and 0 deletions

View File

@ -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();
}

View File

@ -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();