chuni/chusan: added LED output to DLLs (will break most DLLs)
Credits: somewhatlurker, skogaby https://dev.s-ul.net/skogaby/segatools/-/blob/ongeki-15093/
This commit is contained in:
@ -16,6 +16,9 @@ struct led15093_config {
|
||||
uint16_t fw_sum;
|
||||
};
|
||||
|
||||
HRESULT led15093_hook_init(const struct led15093_config *cfg, unsigned int first_port,
|
||||
unsigned int num_boards, uint8_t board_adr, uint8_t host_adr);
|
||||
typedef int (*io_led_init_t)();
|
||||
typedef void (*io_led_set_leds_t)(uint8_t board, uint8_t *rgb);
|
||||
|
||||
HRESULT led15093_hook_init(const struct led15093_config *cfg, io_led_init_t _led_init,
|
||||
io_led_set_leds_t _set_leds, unsigned int first_port, unsigned int num_boards, uint8_t board_adr, uint8_t host_adr);
|
||||
|
||||
|
Reference in New Issue
Block a user