From 799f6f889d22d9d7fee856823081f365cbacf850 Mon Sep 17 00:00:00 2001 From: Hay1tsme Date: Thu, 28 Jul 2022 16:40:44 +0000 Subject: [PATCH] Wacca: UNTESTED coin addition fix --- mercuryhook/io4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mercuryhook/io4.c b/mercuryhook/io4.c index 66c1494..876a81e 100644 --- a/mercuryhook/io4.c +++ b/mercuryhook/io4.c @@ -61,10 +61,10 @@ static HRESULT mercury_io4_poll(void *ctx, struct io4_state *state) if (opbtn & MERCURY_IO_OPBTN_SERVICE) { state->buttons[0] |= IO4_BUTTON_SERVICE; - } + } 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) {