mirror of https://github.com/mgba-emu/mgba.git
SDL: Fix SDL 1.2 build
This commit is contained in:
parent
2b2f5cb6fe
commit
57b8a511b8
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue