windows mouse left/right buttons should be independent, not XOR
This commit is contained in:
parent
cddb8af1a2
commit
01c3f40f1d
|
@ -1224,7 +1224,7 @@ void GetMouseData(uint32 (&md)[3])
|
|||
}
|
||||
md[0] += VNSCLIP;
|
||||
md[1] += FSettings.FirstSLine;
|
||||
md[2] = ((mouseb == MK_LBUTTON) ? 1 : 0) | (( mouseb == MK_RBUTTON ) ? 2 : 0);
|
||||
md[2] = ((mouseb & MK_LBUTTON) ? 1 : 0) | (( mouseb & MK_RBUTTON ) ? 2 : 0);
|
||||
}
|
||||
|
||||
void GetMouseRelative(int32 (&md)[3])
|
||||
|
@ -3234,4 +3234,4 @@ void SaveSnapshotAs()
|
|||
if(GetSaveFileName(&ofn))
|
||||
FCEUI_SetSnapshotAsName(nameo);
|
||||
FCEUI_SaveSnapshotAs();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue