amex/amex.c: Add amex_hook_init() helper

This commit is contained in:
Tau 2019-05-04 12:04:38 -04:00
parent 9603a528c6
commit c5758ac374
3 changed files with 20 additions and 0 deletions

15
amex/amex.c Normal file
View File

@ -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();
}

3
amex/amex.h Normal file
View File

@ -0,0 +1,3 @@
#pragma once
void amex_hook_init(void);

View File

@ -7,6 +7,8 @@ amex_lib = static_library(
capnhook.get_variable('hook_dep'),
],
sources : [
'amex.c',
'amex.h',
'ds.c',
'ds.h',
'eeprom.c',