diff options
author | bunnei <bunneidev@gmail.com> | 2018-01-09 22:36:07 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-10 23:28:43 -0500 |
commit | 482cf8a005a3c13ac7239995fdbe2e78d12984b9 (patch) | |
tree | 0e29fe56ada3a97a1f753ad68e1430e98f66e303 /src/citra/emu_window/emu_window_sdl2.cpp | |
parent | 1ca800cceecd3f37ad874e12fd657f6145ae13c7 (diff) |
frontend: Update for undocked Switch screen layout.
Diffstat (limited to 'src/citra/emu_window/emu_window_sdl2.cpp')
-rw-r--r-- | src/citra/emu_window/emu_window_sdl2.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/citra/emu_window/emu_window_sdl2.cpp b/src/citra/emu_window/emu_window_sdl2.cpp index 25643715a8..e65b04e4b5 100644 --- a/src/citra/emu_window/emu_window_sdl2.cpp +++ b/src/citra/emu_window/emu_window_sdl2.cpp @@ -12,7 +12,6 @@ #include "common/logging/log.h" #include "common/scm_rev.h" #include "common/string_util.h" -#include "core/3ds.h" #include "core/settings.h" #include "input_common/keyboard.h" #include "input_common/main.h" @@ -79,13 +78,13 @@ EmuWindow_SDL2::EmuWindow_SDL2() { SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8); SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 0); - std::string window_title = Common::StringFromFormat("Citra %s| %s-%s ", Common::g_build_name, + std::string window_title = Common::StringFromFormat("yuzu %s| %s-%s ", Common::g_build_name, Common::g_scm_branch, Common::g_scm_desc); render_window = SDL_CreateWindow(window_title.c_str(), SDL_WINDOWPOS_UNDEFINED, // x position SDL_WINDOWPOS_UNDEFINED, // y position - Core::kScreenTopWidth, Core::kScreenTopHeight + Core::kScreenBottomHeight, + Layout::ScreenUndocked::Width, Layout::ScreenUndocked::Height, SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_ALLOW_HIGHDPI); if (render_window == nullptr) { |