Input: Fix - SNES mouse only has 3 levels of sensitivity, not 4

This commit is contained in:
Sour 2019-01-05 09:53:14 -05:00
parent e3ef83a1cf
commit a78b14e1ab

View file

@ -50,7 +50,7 @@ public:
uint8_t output = 0;
if((addr == 0x4016 && (_port & 0x01) == 0) || (addr == 0x4017 && (_port & 0x01) == 1)) {
if(_strobe) {
_sensitivity = (_sensitivity + 1) & 0x03;
_sensitivity = (_sensitivity + 1) % 3;
}
output = (_stateBuffer & 0x80000000) >> 31;