mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-30 06:43:53 +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
|
||||
|
||||
#ifdef HAVE_DINPUT
|
||||
dinput_gdi = input_dinput.init(joypad_name);
|
||||
*input = dinput_gdi ? &input_dinput : NULL;
|
||||
#else
|
||||
dinput_gdi = NULL;
|
||||
*input = NULL;
|
||||
#endif
|
||||
*input_data = dinput_gdi;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user