From ff238c672d2f623363169f7ea6a3f292bbb24543 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Tue, 8 Dec 2015 19:33:58 -0800 Subject: Allow IO device config to be overriden by ROM DB --- io.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'io.h') diff --git a/io.h b/io.h index 2786477..9ec1b4f 100644 --- a/io.h +++ b/io.h @@ -7,6 +7,7 @@ #define IO_H_ #include #include "tern.h" +#include "romdb.h" enum { IO_GAMEPAD3, @@ -69,7 +70,7 @@ enum { void set_keybindings(io_port *ports); void map_all_bindings(io_port *ports); -void setup_io_devices(tern_node * config, io_port * ports); +void setup_io_devices(tern_node * config, rom_info *rom, io_port * ports); void io_adjust_cycles(io_port * pad, uint32_t current_cycle, uint32_t deduction); void io_data_write(io_port * pad, uint8_t value, uint32_t current_cycle); uint8_t io_data_read(io_port * pad, uint32_t current_cycle); -- cgit v1.2.3