Fixed N64 Mouse detection

This commit is contained in:
LuigiBlood 2015-05-14 03:05:34 +02:00 committed by luigiblood
parent 4d8a419efa
commit d6c2116a71
1 changed files with 2 additions and 4 deletions

View File

@ -602,13 +602,11 @@ EXPORT void CALL ReadController( int Control, BYTE * Command )
#ifdef ENABLE_RAWPAK_DEBUG #ifdef ENABLE_RAWPAK_DEBUG
WriteDatasA( "GetStatus-PreProcessing", Control, Command, 0); WriteDatasA( "GetStatus-PreProcessing", Control, Command, 0);
#endif #endif
Command[3] = RD_GAMEPAD; Command[3] = RD_GAMEPAD | RD_ABSOLUTE;
Command[4] = RD_NOEEPROM; Command[4] = RD_NOEEPROM;
if (g_pcControllers[Control].fN64Mouse) // Is Controller a mouse? if (g_pcControllers[Control].fN64Mouse) // Is Controller a mouse?
Command[3] |= RD_RELATIVE; Command[3] = RD_RELATIVE;
else
Command[3] |= RD_ABSOLUTE;
if( g_pcControllers[Control].fPakInitialized && g_pcControllers[Control].pPakData ) if( g_pcControllers[Control].fPakInitialized && g_pcControllers[Control].pPakData )
{ {