mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-09-23 07:28:35 +02:00
24df68ea33
Jan Klass Not sure if this is limited to the joystick subsystem, but I created a minimal program for reproducibility, which is attached. The issue occurs with my gamepad Razer Onza (an xbox-style gamepad) plugged in. On initialization, the gamepad is being recognized. After quitting the subsystem, the poll will receive the joystick added event, which it instantly handles itself, calling SDL_SYS_JoystickDetect again, which this time calls IDirectInput8_EnumDevices with dinput = NULL (after it was released on quit). This seems to lead to an access violation within said function, which I have no source for. |
||
---|---|---|
.. | ||
SDL_dinputjoystick_c.h | ||
SDL_dinputjoystick.c | ||
SDL_mmjoystick.c | ||
SDL_windowsjoystick_c.h | ||
SDL_windowsjoystick.c | ||
SDL_xinputjoystick_c.h | ||
SDL_xinputjoystick.c |