SDL: Fix uninitialized mapping variables

This commit is contained in:
Connor McLaughlin 2020-02-16 00:13:55 +09:00
parent 745c2785b2
commit 3bafdf88d4
1 changed files with 2 additions and 2 deletions

View File

@ -129,8 +129,8 @@ private:
KeyboardControllerActionMap m_keyboard_button_mapping; KeyboardControllerActionMap m_keyboard_button_mapping;
std::map<int, ControllerData> m_sdl_controllers; std::map<int, ControllerData> m_sdl_controllers;
std::array<s32, SDL_CONTROLLER_AXIS_MAX> m_controller_axis_mapping; std::array<s32, SDL_CONTROLLER_AXIS_MAX> m_controller_axis_mapping{};
std::array<s32, SDL_CONTROLLER_BUTTON_MAX> m_controller_button_mapping; std::array<s32, SDL_CONTROLLER_BUTTON_MAX> m_controller_button_mapping{};
u32 m_switch_gpu_renderer_event_id = 0; u32 m_switch_gpu_renderer_event_id = 0;