lt better than exact if
This commit is contained in:
parent
475d57d472
commit
0982a1efd4
@ -89,7 +89,7 @@ void amigaYpulse(int8_t count) {
|
||||
else {
|
||||
mouseYTableIndex--;
|
||||
|
||||
if (mouseYTableIndex == -1) {
|
||||
if (mouseYTableIndex < 0) {
|
||||
mouseYTableIndex = 3;
|
||||
}
|
||||
}
|
||||
@ -119,7 +119,7 @@ void amigaXpulse(int8_t count) {
|
||||
else {
|
||||
mouseXTableIndex--;
|
||||
|
||||
if (mouseXTableIndex == -1) {
|
||||
if (mouseXTableIndex < 0) {
|
||||
mouseXTableIndex = 3;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user