forked from TeamTofuShop/segatools
Split libnu into libplatform, libamex
Going to add some ALLS stuff to libplatform and the ALLS hardware does not contain an AMEX board.
This commit is contained in:
@ -3,6 +3,12 @@
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "amex/ds.h"
|
||||
#include "amex/eeprom.h"
|
||||
#include "amex/gpio.h"
|
||||
#include "amex/jvs.h"
|
||||
#include "amex/sram.h"
|
||||
|
||||
#include "chunihook/jvs.h"
|
||||
#include "chunihook/slider-hook.h"
|
||||
|
||||
@ -10,13 +16,8 @@
|
||||
|
||||
#include "hooklib/serial.h"
|
||||
|
||||
#include "nu/ds.h"
|
||||
#include "nu/eeprom.h"
|
||||
#include "nu/gpio.h"
|
||||
#include "nu/jvs.h"
|
||||
#include "nu/hwmon.h"
|
||||
#include "nu/nusec.h"
|
||||
#include "nu/sram.h"
|
||||
#include "platform/hwmon.h"
|
||||
#include "platform/nusec.h"
|
||||
|
||||
#include "util/clock.h"
|
||||
#include "util/dprintf.h"
|
||||
@ -47,16 +48,19 @@ static DWORD CALLBACK chuni_pre_startup(void)
|
||||
gfx_hook_init();
|
||||
serial_hook_init();
|
||||
|
||||
/* Initialize Nu emulation */
|
||||
/* Initialize platform API emulation */
|
||||
|
||||
eeprom_hook_init();
|
||||
sram_hook_init();
|
||||
ds_hook_init();
|
||||
gpio_hook_init();
|
||||
jvs_hook_init();
|
||||
hwmon_hook_init();
|
||||
nusec_hook_init();
|
||||
|
||||
/* Initialize AMEX emulation */
|
||||
|
||||
ds_hook_init();
|
||||
gpio_hook_init();
|
||||
eeprom_hook_init();
|
||||
jvs_hook_init();
|
||||
sram_hook_init();
|
||||
|
||||
/* Initialize Chunithm board emulation */
|
||||
|
||||
slider_hook_init();
|
||||
|
@ -5,12 +5,12 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "amex/jvs.h"
|
||||
|
||||
#include "board/io3.h"
|
||||
|
||||
#include "jvs/jvs-bus.h"
|
||||
|
||||
#include "nu/jvs.h"
|
||||
|
||||
#include "util/dprintf.h"
|
||||
|
||||
static void chunithm_jvs_read_switches(void *ctx, struct io3_switch_state *out);
|
||||
|
@ -12,9 +12,10 @@ shared_library(
|
||||
capnhook.get_variable('hooklib_dep'),
|
||||
],
|
||||
link_with : [
|
||||
amex_lib,
|
||||
board_lib,
|
||||
jvs_lib,
|
||||
nu_lib,
|
||||
platform_lib,
|
||||
util_lib,
|
||||
],
|
||||
sources : [
|
||||
|
Reference in New Issue
Block a user