idzhook/config.c: Consolidate config

This commit is contained in:
Tau
2019-05-17 23:48:21 -04:00
parent d44740647c
commit 96fe28b66c
4 changed files with 46 additions and 16 deletions

18
idzhook/config.c Normal file
View File

@ -0,0 +1,18 @@
#include <stddef.h>
#include "amex/config.h"
#include "idzhook/config.h"
#include "platform/config.h"
void idz_hook_config_load(
struct idz_hook_config *cfg,
const wchar_t *filename)
{
assert(cfg != NULL);
assert(filename != NULL);
nu_config_load(&cfg->nu, filename);
amex_config_load(&cfg->amex, filename);
}