Mercurial > repos > blastem
diff io.c @ 2422:1978bd770023
Expose gamepad state in debugger
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 20 Jan 2024 21:15:56 -0800 |
parents | 0a107b2d5837 |
children | 25e40370e0e4 |
line wrap: on
line diff
--- a/io.c Sat Jan 20 01:30:19 2024 -0800 +++ b/io.c Sat Jan 20 21:15:56 2024 -0800 @@ -89,7 +89,7 @@ [BUTTON_MODE] = {.states = {GAMEPAD_EXTRA, GAMEPAD_NONE}, .value = 0x8}, }; -static io_port *find_gamepad(sega_io *io, uint8_t gamepad_num) +io_port *find_gamepad(sega_io *io, uint8_t gamepad_num) { for (int i = 0; i < 3; i++) {