This commit is contained in:
zilmar 2017-06-05 20:15:10 +10:00
commit de497775b5
2 changed files with 17 additions and 6 deletions

View File

@ -3264,7 +3264,6 @@ Self Texture=1
Good Name=Mario Kart 64 (E) (V1.0)
Internal Name=MARIOKART64
Status=Compatible
Cheat0=81001A38 2409,81001A3A 0002,81001A3C 2409,81001A3E 0002,81001C90 240A,81001C92 0002,81001C94 240A,81001C96 0002 //Multiplayer timing fix
Plugin Note=[Glide64] missing TVs
Culling=1
Primary Frame Buffer=1
@ -3273,7 +3272,6 @@ Primary Frame Buffer=1
Good Name=Mario Kart 64 (E) (V1.1)
Internal Name=MARIOKART64
Status=Compatible
Cheat0=81001A38 2409,81001A3A 0002,81001A3C 2409,81001A3E 0002,81001C90 240A,81001C92 0002,81001C94 240A,81001C96 0002 //Multiplayer timing fix
Plugin Note=[Glide64] missing TVs
Culling=1
Primary Frame Buffer=1
@ -3282,7 +3280,6 @@ Primary Frame Buffer=1
Good Name=Mario Kart 64 (J) (V1.0)
Internal Name=MARIOKART64
Status=Compatible
Cheat0=81001A38 2409,81001A3A 0002,81001A3C 2409,81001A3E 0002,81001C90 240A,81001C92 0002,81001C94 240A,81001C96 0002 //Multiplayer timing fix
Plugin Note=[Glide64] missing TVs
Culling=1
Primary Frame Buffer=1
@ -3291,7 +3288,6 @@ Primary Frame Buffer=1
Good Name=Mario Kart 64 (J) (V1.1)
Internal Name=MARIOKART64
Status=Compatible
Cheat0=81001A38 2409,81001A3A 0002,81001A3C 2409,81001A3E 0002,81001C90 240A,81001C92 0002,81001C94 240A,81001C96 0002 //Multiplayer timing fix
Plugin Note=[Glide64] missing TVs
Culling=1
Primary Frame Buffer=1

View File

@ -678,8 +678,23 @@ BOOL CALLBACK EnumGetEffectTypes( LPCDIEFFECTINFO pdei, LPVOID pvRef )
// EnumMakeDeviceList has been rewritten. --rabid
BOOL CALLBACK EnumMakeDeviceList( LPCDIDEVICEINSTANCE lpddi, LPVOID pvRef )
{
if( IsXInputDevice( &lpddi->guidProduct ) ) // Check if is XInput device --tecnicors
return DIENUM_CONTINUE;
switch (GET_DIDEVICE_TYPE(lpddi->dwDevType)) {
// we don't need to do anything with these generic devices
case DI8DEVTYPE_DEVICE:
return DIENUM_CONTINUE;
break;
// these are potential xinput controllers, check them
case DI8DEVTYPE_GAMEPAD:
case DI8DEVTYPE_DRIVING:
case DI8DEVTYPE_JOYSTICK:
case DI8DEVTYPE_FLIGHT:
if (IsXInputDevice(&lpddi->guidProduct)) // Check if is XInput device --tecnicors
return DIENUM_CONTINUE;
break;
// for all other devices, continue on
default:
break;
}
if (IsEqualGUID(g_sysMouse.guidInstance, lpddi->guidInstance))
return DIENUM_CONTINUE;