Closed lorsanta closed 2 years ago
I think that the bug is caused by this line: https://github.com/NagyD/SDLPoP/blob/211796b7a905028b6c1583bb6c78014bfaa385a0/src/seg009.c#L3509 Instead of joy_X_button_state = -1; we should have joy_X_button_state = 1; as it is done here: https://github.com/NagyD/SDLPoP/blob/211796b7a905028b6c1583bb6c78014bfaa385a0/src/seg009.c#L3448
joy_X_button_state = -1;
joy_X_button_state = 1;
Done: ed7246a5b836627a85f61b7e0f5fac1d8ff1870a
You wrote "I think". Can you verify if this change indeed fixes the bug?
Yes it does, I just double-checked now.
I think that the bug is caused by this line: https://github.com/NagyD/SDLPoP/blob/211796b7a905028b6c1583bb6c78014bfaa385a0/src/seg009.c#L3509 Instead of
joy_X_button_state = -1;
we should havejoy_X_button_state = 1;
as it is done here: https://github.com/NagyD/SDLPoP/blob/211796b7a905028b6c1583bb6c78014bfaa385a0/src/seg009.c#L3448