summaryrefslogtreecommitdiffstats
path: root/src/yuzu_tester/emu_window/emu_window_sdl2_hide.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-08-28 15:57:50 +0200
committerGitHub <noreply@github.com>2020-08-28 15:57:50 +0200
commit45b73ba840411fa61c75e6fe954b9a46ca5d59b6 (patch)
treec99333f0b6b386bfb80712d8e6ffa94bef04a9ff /src/yuzu_tester/emu_window/emu_window_sdl2_hide.h
parentMerge pull request #4586 from yuzu-emu/tsan-cpu-interrupt (diff)
parentinput_common: Eliminate most global state (diff)
downloadyuzu-45b73ba840411fa61c75e6fe954b9a46ca5d59b6.tar
yuzu-45b73ba840411fa61c75e6fe954b9a46ca5d59b6.tar.gz
yuzu-45b73ba840411fa61c75e6fe954b9a46ca5d59b6.tar.bz2
yuzu-45b73ba840411fa61c75e6fe954b9a46ca5d59b6.tar.lz
yuzu-45b73ba840411fa61c75e6fe954b9a46ca5d59b6.tar.xz
yuzu-45b73ba840411fa61c75e6fe954b9a46ca5d59b6.tar.zst
yuzu-45b73ba840411fa61c75e6fe954b9a46ca5d59b6.zip
Diffstat (limited to 'src/yuzu_tester/emu_window/emu_window_sdl2_hide.h')
-rw-r--r--src/yuzu_tester/emu_window/emu_window_sdl2_hide.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/yuzu_tester/emu_window/emu_window_sdl2_hide.h b/src/yuzu_tester/emu_window/emu_window_sdl2_hide.h
index c13a82df2..a553b4b95 100644
--- a/src/yuzu_tester/emu_window/emu_window_sdl2_hide.h
+++ b/src/yuzu_tester/emu_window/emu_window_sdl2_hide.h
@@ -8,6 +8,10 @@
struct SDL_Window;
+namespace InputCommon {
+class InputSubsystem;
+}
+
class EmuWindow_SDL2_Hide : public Core::Frontend::EmuWindow {
public:
explicit EmuWindow_SDL2_Hide();
@@ -25,6 +29,8 @@ private:
/// Whether the GPU and driver supports the OpenGL extension required
bool SupportsRequiredGLExtensions();
+ std::unique_ptr<InputCommon::InputSubsystem> input_subsystem;
+
/// Internal SDL2 render window
SDL_Window* render_window;