(Dinput) Fix RARCH_DEVICE_MOUSE_SCREEN

This commit is contained in:
twinaphex 2020-06-13 17:22:34 +02:00
parent 8593b10bee
commit bba60163f7

View File

@ -653,7 +653,7 @@ static int16_t dinput_input_state(void *data,
case RARCH_DEVICE_MOUSE_SCREEN: case RARCH_DEVICE_MOUSE_SCREEN:
{ {
settings = config_get_ptr(); settings = config_get_ptr();
if (settings->uints.input_mouse_index[ port ] != 0) if (settings->uints.input_mouse_index[ port ] == 0)
return dinput_mouse_state_screen(di, port, id); return dinput_mouse_state_screen(di, port, id);
} }
break; break;