Have GW take joystick as input
BrianPugh opened this issue · 1 comments
BrianPugh commented
Currently, all other emu's use the joystick abstraction as an input; GW does not. This leads to a small bug where when macros are used, the underlying keypresses are still being sent to the emulator because GW directly reads buttons.
bzhxx commented
we can change it in main_gw.c.
The emulator is calling gw_get_buttons() everytime the rom program reads inputs.
We just need to replace buttons_get() by an operation to convert joystick state in original buttons value.