1
0
mirror of https://gitea.tendokyu.moe/Hay1tsme/segatools.git synced 2024-11-25 01:40:11 +01:00
segatools-hay1tsme/board/config.c
2019-11-05 19:40:00 -05:00

17 lines
346 B
C

#include <windows.h>
#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
#include "board/config.h"
#include "board/sg-reader.h"
void aime_config_load(struct aime_config *cfg, const wchar_t *filename)
{
assert(cfg != NULL);
assert(filename != NULL);
cfg->enable = GetPrivateProfileIntW(L"aime", L"enable", 1, filename);
}