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:
@ -11,7 +11,7 @@
|
||||
|
||||
#include "platform/config.h"
|
||||
|
||||
void alls_config_load(struct alls_config *cfg, const wchar_t *filename)
|
||||
void platform_config_load(struct platform_config *cfg, const wchar_t *filename)
|
||||
{
|
||||
assert(cfg != NULL);
|
||||
assert(filename != NULL);
|
||||
@ -27,21 +27,6 @@ void alls_config_load(struct alls_config *cfg, const wchar_t *filename)
|
||||
vfs_config_load(&cfg->vfs, filename);
|
||||
}
|
||||
|
||||
void nu_config_load(struct nu_config *cfg, const wchar_t *filename)
|
||||
{
|
||||
assert(cfg != NULL);
|
||||
assert(filename != NULL);
|
||||
|
||||
amvideo_config_load(&cfg->amvideo, filename);
|
||||
clock_config_load(&cfg->clock, filename);
|
||||
dns_config_load(&cfg->dns, filename);
|
||||
hwmon_config_load(&cfg->hwmon, filename);
|
||||
misc_config_load(&cfg->misc, filename);
|
||||
netenv_config_load(&cfg->netenv, filename);
|
||||
nusec_config_load(&cfg->nusec, filename);
|
||||
vfs_config_load(&cfg->vfs, filename);
|
||||
}
|
||||
|
||||
void amvideo_config_load(struct amvideo_config *cfg, const wchar_t *filename)
|
||||
{
|
||||
assert(cfg != NULL);
|
||||
|
Reference in New Issue
Block a user