Merge e9effd99a5
into 11efdb1651
This commit is contained in:
commit
a0f5524eba
|
@ -453,7 +453,9 @@ void CPifRam::ProcessControllerCommand(int32_t Control, uint8_t * Command)
|
|||
g_Notify->DisplayError("What am I meant to do with this controller command?");
|
||||
}
|
||||
}
|
||||
if (Controllers[Control].Present != 0)
|
||||
if (Controllers[Control].Present != PRESENT_NONE)
|
||||
{
|
||||
if (Controllers[Control].Present != PRESENT_MOUSE)
|
||||
{
|
||||
Command[3] = 0x05;
|
||||
Command[4] = 0x00;
|
||||
|
@ -467,6 +469,14 @@ void CPifRam::ProcessControllerCommand(int32_t Control, uint8_t * Command)
|
|||
default: Command[5] = 0; break;
|
||||
}
|
||||
}
|
||||
else //if (Controllers[Control].Present == PRESENT_MOUSE)
|
||||
{
|
||||
//N64 Mouse
|
||||
Command[3] = 0x02;
|
||||
Command[4] = 0x00;
|
||||
Command[5] = 0x00;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Command[1] |= 0x80;
|
||||
|
|
Loading…
Reference in New Issue