Fix capabilities report

This commit is contained in:
Zoran Vuckovic 2017-06-02 09:42:56 +02:00
parent a4358deb0d
commit f740776105

View File

@ -532,10 +532,10 @@ static void winraw_free(void *d)
static uint64_t winraw_get_capabilities(void *u)
{
return RETRO_DEVICE_KEYBOARD |
RETRO_DEVICE_MOUSE |
RETRO_DEVICE_JOYPAD |
RETRO_DEVICE_ANALOG;
return (1 << RETRO_DEVICE_KEYBOARD) |
(1 << RETRO_DEVICE_MOUSE) |
(1 << RETRO_DEVICE_JOYPAD) |
(1 << RETRO_DEVICE_ANALOG);
}
static void winraw_grab_mouse(void *d, bool grab)