summaryrefslogtreecommitdiff
path: root/src/common/emu_window.h
diff options
context:
space:
mode:
authorGravatar bunnei2014-04-23 18:43:57 -0700
committerGravatar bunnei2014-04-23 18:43:57 -0700
commit4405a53cf3b669e84b1d953d35e89ec29b916293 (patch)
treef6d4370cfce75d9922e75d99c82e1935c6b723c9 /src/common/emu_window.h
parentfixes to build on linux (diff)
downloadyuzu-4405a53cf3b669e84b1d953d35e89ec29b916293.tar.gz
yuzu-4405a53cf3b669e84b1d953d35e89ec29b916293.tar.xz
yuzu-4405a53cf3b669e84b1d953d35e89ec29b916293.zip
added scm rev generation on Linux/cmake
Diffstat (limited to 'src/common/emu_window.h')
-rw-r--r--src/common/emu_window.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/emu_window.h b/src/common/emu_window.h
index e70b99ec1..c53d6d7a2 100644
--- a/src/common/emu_window.h
+++ b/src/common/emu_window.h
@@ -5,6 +5,7 @@
5#pragma once 5#pragma once
6 6
7#include "common/common.h" 7#include "common/common.h"
8#include "common/scm_rev.h"
8 9
9// Abstraction class used to provide an interface between emulation code and the frontend (e.g. SDL, 10// Abstraction class used to provide an interface between emulation code and the frontend (e.g. SDL,
10// QGLWidget, GLFW, etc...) 11// QGLWidget, GLFW, etc...)
@@ -66,7 +67,7 @@ public:
66protected: 67protected:
67 EmuWindow() : m_client_area_width(640), m_client_area_height(480) { 68 EmuWindow() : m_client_area_width(640), m_client_area_height(480) {
68 char window_title[255]; 69 char window_title[255];
69 sprintf(window_title, "citra-%s", g_scm_rev_str); 70 sprintf(window_title, "citra-%s", Common::g_scm_desc);
70 m_window_title = window_title; 71 m_window_title = window_title;
71 } 72 }
72 virtual ~EmuWindow() {} 73 virtual ~EmuWindow() {}