forked from Dniel97/segatools
Wacca: UNTESTED coin addition fix
This commit is contained in:
parent
9231ed9958
commit
799f6f889d
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user