mirror of
https://github.com/libretro/RetroArch
synced 2025-03-21 04:21:13 +00:00
gdi: allow compilation without DirectInput8 for NT
This commit is contained in:
parent
455a455d9f
commit
47f3a801ba
@ -238,8 +238,13 @@ static void gfx_ctx_gdi_input_driver(void *data,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_DINPUT
|
||||||
dinput_gdi = input_dinput.init(joypad_name);
|
dinput_gdi = input_dinput.init(joypad_name);
|
||||||
*input = dinput_gdi ? &input_dinput : NULL;
|
*input = dinput_gdi ? &input_dinput : NULL;
|
||||||
|
#else
|
||||||
|
dinput_gdi = NULL;
|
||||||
|
*input = NULL;
|
||||||
|
#endif
|
||||||
*input_data = dinput_gdi;
|
*input_data = dinput_gdi;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user