summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-30 03:49:13 +0200
committerGitHub <noreply@github.com>2018-04-30 03:49:13 +0200
commit81a0082f6bd4f2db9b09e56cce96351bb5084e46 (patch)
tree4309e2b742d485f9854bbe63de4393f7e8785f5c /src/yuzu_cmd
parentMerge pull request #422 from bunnei/shader-mov (diff)
parentstring_util: Remove StringFromFormat() and related functions (diff)
downloadyuzu-81a0082f6bd4f2db9b09e56cce96351bb5084e46.tar
yuzu-81a0082f6bd4f2db9b09e56cce96351bb5084e46.tar.gz
yuzu-81a0082f6bd4f2db9b09e56cce96351bb5084e46.tar.bz2
yuzu-81a0082f6bd4f2db9b09e56cce96351bb5084e46.tar.lz
yuzu-81a0082f6bd4f2db9b09e56cce96351bb5084e46.tar.xz
yuzu-81a0082f6bd4f2db9b09e56cce96351bb5084e46.tar.zst
yuzu-81a0082f6bd4f2db9b09e56cce96351bb5084e46.zip
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
index b6ed0c498..e21de6f21 100644
--- a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
@@ -7,6 +7,7 @@
#include <string>
#define SDL_MAIN_HANDLED
#include <SDL.h>
+#include <fmt/format.h>
#include <glad/glad.h>
#include "common/logging/log.h"
#include "common/scm_rev.h"
@@ -97,8 +98,8 @@ EmuWindow_SDL2::EmuWindow_SDL2(bool fullscreen) {
SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8);
SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 0);
- std::string window_title = Common::StringFromFormat("yuzu %s| %s-%s ", Common::g_build_name,
- Common::g_scm_branch, Common::g_scm_desc);
+ std::string window_title = fmt::format("yuzu {} | {}-{}", 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