forked from Hay1tsme/segatools
amex/amex.c: Add amex_hook_init() helper
This commit is contained in:
parent
9603a528c6
commit
c5758ac374
15
amex/amex.c
Normal file
15
amex/amex.c
Normal 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
3
amex/amex.h
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
void amex_hook_init(void);
|
@ -7,6 +7,8 @@ amex_lib = static_library(
|
|||||||
capnhook.get_variable('hook_dep'),
|
capnhook.get_variable('hook_dep'),
|
||||||
],
|
],
|
||||||
sources : [
|
sources : [
|
||||||
|
'amex.c',
|
||||||
|
'amex.h',
|
||||||
'ds.c',
|
'ds.c',
|
||||||
'ds.h',
|
'ds.h',
|
||||||
'eeprom.c',
|
'eeprom.c',
|
||||||
|
Loading…
Reference in New Issue
Block a user