Merge pull request #1628 from lioncash/cast

dinput: Return NULL instead of false for dinput_get_joypad_driver()
This commit is contained in:
Alcaro 2015-04-15 09:10:53 +02:00
commit 3c6ad44f88

View File

@ -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;
}