mirror of
https://github.com/whowechina/mai_pico.git
synced 2024-11-28 05:20:49 +01:00
Just let coin count overflow
This commit is contained in:
parent
c4f3a535e3
commit
4b40f75ae0
Binary file not shown.
@ -48,7 +48,7 @@ static void report_usb_hid()
|
||||
hid_joy.buttons[0] = native_to_io4(buttons);
|
||||
hid_joy.buttons[1] = native_to_io4(0);
|
||||
if (last_buttons ^ buttons & (1 << 11)) {
|
||||
if ((buttons & (1 << 11)) && (hid_joy.chutes[0] < 0xff00)) {
|
||||
if (buttons & (1 << 11)) {
|
||||
// just pressed coin button
|
||||
hid_joy.chutes[0] += 0x100;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user