From f79eafe449c3db18aff48b9357afb195cef310cf Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 12 Jun 2011 10:42:42 +0200 Subject: [PATCH] Should perhaps continue if one joypad failed. --- input/dinput.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/dinput.c b/input/dinput.c index 4ac5b3fa9c..c7377c38fd 100644 --- a/input/dinput.c +++ b/input/dinput.c @@ -82,7 +82,7 @@ static BOOL CALLBACK enum_joypad_cb(const DIDEVICEINSTANCE *inst, void *p) return DIENUM_CONTINUE; if (FAILED(IDirectInput8_CreateDevice(di->ctx, &inst->guidInstance, &di->joypad[n], NULL))) - return DIENUM_STOP; + return DIENUM_CONTINUE; IDirectInputDevice8_SetDataFormat(di->joypad[n], &c_dfDIJoystick2); IDirectInputDevice8_SetCooperativeLevel(di->joypad[n], di->hWnd,