Wacca: Coins insert, but releaseing the button inserts 15

This commit is contained in:
Hay1tsme 2022-06-05 04:24:34 -04:00 committed by Hay1tsme
parent cbce2b8084
commit 0c74c1603f
1 changed files with 2 additions and 2 deletions

View File

@ -63,8 +63,8 @@ static HRESULT mercury_io4_poll(void *ctx, struct io4_state *state)
state->buttons[0] |= IO4_BUTTON_SERVICE;
}
if (gamebtn & MERCURY_IO_OPBTN_COIN) {
state->chutes[0] |= 1 << 1; // FIXME: insert coins
if (opbtn & MERCURY_IO_OPBTN_COIN) {
state->chutes[0] |= 1 << 8; // FIXME: Inserts 15 extra coins on release of button
}
if (gamebtn & MERCURY_IO_GAMEBTN_VOL_UP) {