Merge pull request #458 from LuigiBlood/64dd

Fixed N64 Mouse detection
This commit is contained in:
zilmar 2015-05-14 11:39:34 +10:00
commit e4310dafdd
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
WriteDatasA( "GetStatus-PreProcessing", Control, Command, 0);
#endif
Command[3] = RD_GAMEPAD;
Command[3] = RD_GAMEPAD | RD_ABSOLUTE;
Command[4] = RD_NOEEPROM;
if (g_pcControllers[Control].fN64Mouse) // Is Controller a mouse?
Command[3] |= RD_RELATIVE;
else
Command[3] |= RD_ABSOLUTE;
Command[3] = RD_RELATIVE;
if( g_pcControllers[Control].fPakInitialized && g_pcControllers[Control].pPakData )
{