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:
@ -16,7 +16,7 @@ void diva_hook_config_load(
|
||||
assert(cfg != NULL);
|
||||
assert(filename != NULL);
|
||||
|
||||
nu_config_load(&cfg->nu, filename);
|
||||
platform_config_load(&cfg->platform, filename);
|
||||
amex_config_load(&cfg->amex, filename);
|
||||
aime_config_load(&cfg->aime, filename);
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "platform/config.h"
|
||||
|
||||
struct diva_hook_config {
|
||||
struct nu_config nu;
|
||||
struct platform_config platform;
|
||||
struct amex_config amex;
|
||||
struct aime_config aime;
|
||||
};
|
||||
|
@ -39,7 +39,12 @@ static DWORD CALLBACK diva_pre_startup(void)
|
||||
|
||||
/* Initialize emulation hooks */
|
||||
|
||||
platform_hook_init_nu(&diva_hook_cfg.nu, "SBZV", "AAV0", diva_hook_mod);
|
||||
platform_hook_init(
|
||||
&diva_hook_cfg.platform,
|
||||
"SBZV",
|
||||
"AAV0",
|
||||
diva_hook_mod);
|
||||
|
||||
amex_hook_init(&diva_hook_cfg.amex);
|
||||
|
||||
if (diva_hook_cfg.amex.jvs.enable) {
|
||||
|
Reference in New Issue
Block a user