non-working coin insert emulation

This commit is contained in:
2022-02-23 02:44:23 -05:00
committed by Hay1tsme
parent 1964fa766f
commit 25a532347b
6 changed files with 12 additions and 0 deletions

View File

@ -61,6 +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 (gamebtn & MERCURY_IO_OPBTN_COIN) {
state->chutes[0] |= 1 << 1; // FIXME: insert coins
}
if (gamebtn & MERCURY_IO_GAMEBTN_VOL_UP) {