aboutsummaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_controller.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-11-25 10:17:11 -0500
committerGitHub <noreply@github.com>2023-11-25 10:17:11 -0500
commitbc4818b058bef926c320ef742053007b7bb33cc0 (patch)
tree836d1902acbc83005d53a534608bed96ac734911 /src/core/hid/emulated_controller.h
parent2993d3bb4955c222cfba3a4b210c89010aee3198 (diff)
parent02a0b41a152d24dc4ba50ae63be625656838ba1a (diff)
Merge pull request #12151 from german77/no-crash
core: hid: Ensure output devices are initialized
Diffstat (limited to 'src/core/hid/emulated_controller.h')
-rw-r--r--src/core/hid/emulated_controller.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hid/emulated_controller.h b/src/core/hid/emulated_controller.h
index ea18c2343..d6e20ab66 100644
--- a/src/core/hid/emulated_controller.h
+++ b/src/core/hid/emulated_controller.h
@@ -559,6 +559,7 @@ private:
NpadStyleTag supported_style_tag{NpadStyleSet::All};
bool is_connected{false};
bool is_configuring{false};
+ bool is_initalized{false};
bool system_buttons_enabled{true};
f32 motion_sensitivity{Core::HID::MotionInput::IsAtRestStandard};
u32 turbo_button_state{0};