mirror of
https://github.com/encounter/SDL.git
synced 2025-12-20 10:25:28 +00:00
Fixed Windows build
This commit is contained in:
@@ -728,13 +728,12 @@ EnumJoystickPresentCallback(const DIDEVICEINSTANCE * pdidInstance, VOID * pConte
|
||||
SDL_bool
|
||||
SDL_DINPUT_JoystickPresent(Uint16 vendor, Uint16 product, Uint16 version)
|
||||
{
|
||||
if (dinput == NULL)
|
||||
{
|
||||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
EnumJoystickPresentData data;
|
||||
|
||||
if (dinput == NULL) {
|
||||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
data.vendor = vendor;
|
||||
data.product = product;
|
||||
data.version = version;
|
||||
|
||||
Reference in New Issue
Block a user