mirror of
https://gitea.tendokyu.moe/Hay1tsme/segatools.git
synced 2024-11-24 17:30:11 +01:00
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'),
|
||||
],
|
||||
sources : [
|
||||
'amex.c',
|
||||
'amex.h',
|
||||
'ds.c',
|
||||
'ds.h',
|
||||
'eeprom.c',
|
||||
|
Loading…
Reference in New Issue
Block a user