mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-29 03:00:24 +00:00
Merge pull request #1628 from lioncash/cast
dinput: Return NULL instead of false for dinput_get_joypad_driver()
This commit is contained in:
commit
3c6ad44f88
@ -655,7 +655,7 @@ static const input_device_driver_t *dinput_get_joypad_driver(void *data)
|
||||
{
|
||||
struct dinput_input *di = (struct dinput_input*)data;
|
||||
if (!di)
|
||||
return false;
|
||||
return NULL;
|
||||
return di->joypad;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user