From 0c74c1603fc1ba1e7172ff655b027f57e313bf79 Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Sun, 5 Jun 2022 04:24:34 -0400 Subject: [PATCH] Wacca: Coins insert, but releaseing the button inserts 15 --- mercuryhook/io4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mercuryhook/io4.c b/mercuryhook/io4.c index fa146db..66c1494 100644 --- a/mercuryhook/io4.c +++ b/mercuryhook/io4.c @@ -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) {