mirror of
https://gitea.tendokyu.moe/Hay1tsme/segatools.git
synced 2024-12-01 03:57:16 +01:00
16 lines
317 B
C
16 lines
317 B
C
|
#include <windows.h>
|
||
|
|
||
|
#include <assert.h>
|
||
|
#include <stdbool.h>
|
||
|
#include <stddef.h>
|
||
|
|
||
|
#include "board/config.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);
|
||
|
}
|