forked from TeamTofuShop/segatools
platform: Re-fuse Nu and ALLS platforms
There's basically no difference at the platform level except for the addition of the ALLS PCBID hook, which is harmless on Nu.
This commit is contained in:
@ -29,7 +29,7 @@ void chuni_hook_config_load(
|
||||
|
||||
memset(cfg, 0, sizeof(*cfg));
|
||||
|
||||
nu_config_load(&cfg->nu, filename);
|
||||
platform_config_load(&cfg->platform, filename);
|
||||
amex_config_load(&cfg->amex, filename);
|
||||
gfx_config_load(&cfg->gfx, filename);
|
||||
slider_config_load(&cfg->slider, filename);
|
||||
|
@ -14,7 +14,7 @@ struct slider_config {
|
||||
};
|
||||
|
||||
struct chuni_hook_config {
|
||||
struct nu_config nu;
|
||||
struct platform_config platform;
|
||||
struct amex_config amex;
|
||||
struct gfx_config gfx;
|
||||
struct slider_config slider;
|
||||
|
@ -52,7 +52,12 @@ static DWORD CALLBACK chuni_pre_startup(void)
|
||||
|
||||
/* Initialize emulation hooks */
|
||||
|
||||
platform_hook_init_nu(&chuni_hook_cfg.nu, "SDBT", "AAV1", chuni_hook_mod);
|
||||
platform_hook_init(
|
||||
&chuni_hook_cfg.platform,
|
||||
"SDBT",
|
||||
"AAV1",
|
||||
chuni_hook_mod);
|
||||
|
||||
amex_hook_init(&chuni_hook_cfg.amex);
|
||||
|
||||
if (chuni_hook_cfg.amex.jvs.enable) {
|
||||
|
Reference in New Issue
Block a user