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:
@ -14,6 +14,6 @@ void mu3_hook_config_load(
|
||||
assert(cfg != NULL);
|
||||
assert(filename != NULL);
|
||||
|
||||
alls_config_load(&cfg->alls, filename);
|
||||
platform_config_load(&cfg->platform, filename);
|
||||
aime_config_load(&cfg->aime, filename);
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "platform/config.h"
|
||||
|
||||
struct mu3_hook_config {
|
||||
struct alls_config alls;
|
||||
struct platform_config platform;
|
||||
struct aime_config aime;
|
||||
};
|
||||
|
||||
|
@ -34,7 +34,7 @@ static DWORD CALLBACK mu3_pre_startup(void)
|
||||
|
||||
/* Initialize emulation hooks */
|
||||
|
||||
platform_hook_init_alls(&mu3_hook_cfg.alls, "SDDT", "AAV2", mu3_hook_mod);
|
||||
platform_hook_init(&mu3_hook_cfg.platform, "SDDT", "AAV2", mu3_hook_mod);
|
||||
sg_reader_hook_init(&mu3_hook_cfg.aime, 1);
|
||||
vfd_hook_init(2);
|
||||
mu3_io4_hook_init();
|
||||
|
Reference in New Issue
Block a user