forked from TeamTofuShop/segatools
platform: Wire up configuration
This commit is contained in:
@ -8,6 +8,7 @@
|
||||
#include "hooklib/clock.h"
|
||||
#include "hooklib/spike.h"
|
||||
|
||||
#include "platform/config.h"
|
||||
#include "platform/nusec.h"
|
||||
|
||||
#include "util/dprintf.h"
|
||||
@ -16,14 +17,17 @@ static process_entry_t app_startup;
|
||||
|
||||
static DWORD CALLBACK app_pre_startup(void)
|
||||
{
|
||||
struct nusec_config nusec_cfg;
|
||||
struct ds_config ds_cfg;
|
||||
|
||||
dprintf("--- Begin %s ---\n", __func__);
|
||||
|
||||
nusec_config_load(&nusec_cfg, L".\\segatools.ini");
|
||||
ds_config_load(&ds_cfg, L".\\segatools.ini");
|
||||
|
||||
clock_hook_init();
|
||||
nusec_hook_init(&nusec_cfg, "SSSS", "AAV0");
|
||||
ds_hook_init(&ds_cfg);
|
||||
nusec_hook_init();
|
||||
|
||||
spike_hook_init("minispike.txt");
|
||||
|
||||
|
Reference in New Issue
Block a user