From da56cb3071c72219e3e557aeb3d038d450376de1 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 15 Apr 2015 03:08:57 -0400 Subject: [PATCH] dinput: Return NULL instead of false for dinput_get_joypad_driver --- input/drivers/dinput.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/drivers/dinput.c b/input/drivers/dinput.c index e508b11aff..f1a9b8d41a 100644 --- a/input/drivers/dinput.c +++ b/input/drivers/dinput.c @@ -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; }