aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-07-30 13:28:24 -0700
committerGitHub <noreply@github.com>2021-07-30 13:28:24 -0700
commit2c7fdee7a759fad644e5323c89d929e45ae19efc (patch)
treede87c26ba0194098a079c7feec88dc1d8c997932 /src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp
parent7530594602d57f42ba5d10814603d0771909886c (diff)
parent335de3fdf584de939adebb99c4b960b564a406d5 (diff)
Merge pull request #6775 from lat9nq/cmd-remove-global-core
emu_window: Remove global system instance
Diffstat (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp')
-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 =