...Actually fix controller support

This commit is contained in:
Clownacy 2020-01-21 12:27:50 +00:00
parent 5d2bcb856b
commit 4c7726221e

View file

@ -25,6 +25,9 @@ void ReleaseDirectInput(void)
SDL_QuitSubSystem(SDL_INIT_JOYSTICK); SDL_QuitSubSystem(SDL_INIT_JOYSTICK);
} }
// It looks like Pixel declared his functions early, so he could forward-reference
BOOL HookDirectInputDevice(void);
BOOL InitDirectInput(void) BOOL InitDirectInput(void)
{ {
SDL_InitSubSystem(SDL_INIT_JOYSTICK); SDL_InitSubSystem(SDL_INIT_JOYSTICK);