segatools/board/config.c

17 lines
346 B
C
Raw Normal View History

2019-06-04 02:27:45 +00:00
#include <windows.h>
#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
#include "board/config.h"
2019-11-06 00:40:00 +00:00
#include "board/sg-reader.h"
2019-06-04 02:27:45 +00:00
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);
}