added scm rev generation on Linux/cmake
This commit is contained in:
parent
7a136b8a84
commit
4405a53cf3
10 changed files with 211 additions and 53 deletions
|
@ -5,6 +5,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "common/common.h"
|
||||
#include "common/scm_rev.h"
|
||||
|
||||
// Abstraction class used to provide an interface between emulation code and the frontend (e.g. SDL,
|
||||
// QGLWidget, GLFW, etc...)
|
||||
|
@ -66,7 +67,7 @@ public:
|
|||
protected:
|
||||
EmuWindow() : m_client_area_width(640), m_client_area_height(480) {
|
||||
char window_title[255];
|
||||
sprintf(window_title, "citra-%s", g_scm_rev_str);
|
||||
sprintf(window_title, "citra-%s", Common::g_scm_desc);
|
||||
m_window_title = window_title;
|
||||
}
|
||||
virtual ~EmuWindow() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue