summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-07-30 22:28:24 +0200
committerGitHub <noreply@github.com>2021-07-30 22:28:24 +0200
commit2c7fdee7a759fad644e5323c89d929e45ae19efc (patch)
treede87c26ba0194098a079c7feec88dc1d8c997932 /src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp
parentMerge pull request #6759 from ReinUsesLisp/pipeline-statistics (diff)
parentemu_window: Remove global system instance (diff)
downloadyuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.tar
yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.tar.gz
yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.tar.bz2
yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.tar.lz
yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.tar.xz
yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.tar.zst
yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp
index d1473dbab..cdda375d8 100644
--- a/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp
+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp
@@ -24,8 +24,9 @@
#include <SDL.h>
#include <SDL_syswm.h>
-EmuWindow_SDL2_VK::EmuWindow_SDL2_VK(InputCommon::InputSubsystem* input_subsystem, bool fullscreen)
- : EmuWindow_SDL2{input_subsystem} {
+EmuWindow_SDL2_VK::EmuWindow_SDL2_VK(InputCommon::InputSubsystem* input_subsystem,
+ Core::System& system_, bool fullscreen)
+ : EmuWindow_SDL2{input_subsystem, system_} {
const std::string window_title = fmt::format("yuzu {} | {}-{} (Vulkan)", Common::g_build_name,
Common::g_scm_branch, Common::g_scm_desc);
render_window =