summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/emu_window/emu_window_sdl2.h
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.h
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 'src/yuzu_cmd/emu_window/emu_window_sdl2.h')
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.h b/src/yuzu_cmd/emu_window/emu_window_sdl2.h
index 1b9ab5b93..aa0d52ae4 100644
--- a/src/yuzu_cmd/emu_window/emu_window_sdl2.h
+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.h
@@ -24,7 +24,7 @@ enum class MouseButton;
class EmuWindow_SDL2 : public Core::Frontend::EmuWindow {
public:
- explicit EmuWindow_SDL2(InputCommon::InputSubsystem* input_subsystem);
+ explicit EmuWindow_SDL2(InputCommon::InputSubsystem* input_subsystem, Core::System& system_);
~EmuWindow_SDL2();
/// Whether the window is still open, and a close request hasn't yet been sent
@@ -87,4 +87,7 @@ protected:
/// Input subsystem to use with this window.
InputCommon::InputSubsystem* input_subsystem;
+
+ /// yuzu core instance
+ Core::System& system;
};