Wacca: UNTESTED coin addition fix

This commit is contained in:
Hay1tsme 2022-07-28 16:40:44 +00:00
parent c3c56ef999
commit 005f010861

View File

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