diff --git a/amex/amex.c b/amex/amex.c new file mode 100644 index 0000000..f30195b --- /dev/null +++ b/amex/amex.c @@ -0,0 +1,15 @@ +#include "amex/amex.h" +#include "amex/ds.h" +#include "amex/eeprom.h" +#include "amex/gpio.h" +#include "amex/jvs.h" +#include "amex/sram.h" + +void amex_hook_init(void) +{ + ds_hook_init(); + eeprom_hook_init(); + gpio_hook_init(); + jvs_hook_init(); + sram_hook_init(); +} diff --git a/amex/amex.h b/amex/amex.h new file mode 100644 index 0000000..63591e0 --- /dev/null +++ b/amex/amex.h @@ -0,0 +1,3 @@ +#pragma once + +void amex_hook_init(void); diff --git a/amex/meson.build b/amex/meson.build index 38c3c6a..d50418d 100644 --- a/amex/meson.build +++ b/amex/meson.build @@ -7,6 +7,8 @@ amex_lib = static_library( capnhook.get_variable('hook_dep'), ], sources : [ + 'amex.c', + 'amex.h', 'ds.c', 'ds.h', 'eeprom.c',