SDL: Fix SDL 1.2 build

This commit is contained in:
Jeffrey Pfau 2016-02-17 23:04:03 -08:00
parent 2b2f5cb6fe
commit 57b8a511b8
1 changed files with 3 additions and 1 deletions

View File

@ -23,11 +23,13 @@ struct GBAVideoSoftwareRenderer;
struct Configuration;
struct SDL_JoystickCombo {
SDL_JoystickID id;
size_t index;
SDL_Joystick* joystick;
#if SDL_VERSION_ATLEAST(2, 0, 0)
SDL_Haptic* haptic;
SDL_JoystickID id;
#else
int id;
#endif
};