diff options
| author | 2017-02-23 16:24:48 -0500 | |
|---|---|---|
| committer | 2017-02-23 16:24:48 -0500 | |
| commit | 4dee08b34334607740fa348d449f2b3f25116f0c (patch) | |
| tree | d6f3200b3f3d72842187e9fd48c3f19c632e47c5 /src/citra/emu_window/emu_window_sdl2.cpp | |
| parent | [UI] Modify recursive scanning label (#2589) (diff) | |
| parent | Gui: Change title bar to include build name (diff) | |
| download | yuzu-4dee08b34334607740fa348d449f2b3f25116f0c.tar.gz yuzu-4dee08b34334607740fa348d449f2b3f25116f0c.tar.xz yuzu-4dee08b34334607740fa348d449f2b3f25116f0c.zip | |
Merge pull request #2441 from jroweboy/titlebar
Gui: Change title bar to include build name
Diffstat (limited to 'src/citra/emu_window/emu_window_sdl2.cpp')
| -rw-r--r-- | src/citra/emu_window/emu_window_sdl2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/citra/emu_window/emu_window_sdl2.cpp b/src/citra/emu_window/emu_window_sdl2.cpp index 81a3abe3f..00d00905a 100644 --- a/src/citra/emu_window/emu_window_sdl2.cpp +++ b/src/citra/emu_window/emu_window_sdl2.cpp | |||
| @@ -79,8 +79,8 @@ EmuWindow_SDL2::EmuWindow_SDL2() { | |||
| 79 | SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8); | 79 | SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8); |
| 80 | SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 0); | 80 | SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 0); |
| 81 | 81 | ||
| 82 | std::string window_title = | 82 | std::string window_title = Common::StringFromFormat("Citra %s| %s-%s ", Common::g_build_name, |
| 83 | Common::StringFromFormat("Citra | %s-%s", Common::g_scm_branch, Common::g_scm_desc); | 83 | Common::g_scm_branch, Common::g_scm_desc); |
| 84 | render_window = SDL_CreateWindow( | 84 | render_window = SDL_CreateWindow( |
| 85 | window_title.c_str(), | 85 | window_title.c_str(), |
| 86 | SDL_WINDOWPOS_UNDEFINED, // x position | 86 | SDL_WINDOWPOS_UNDEFINED, // x position |