mirror of
https://gitea.tendokyu.moe/Dniel97/segatools.git
synced 2024-12-12 04:21:04 +01:00
15 lines
357 B
C
15 lines
357 B
C
|
#include "config.h"
|
||
|
|
||
|
void unity_config_load(struct unity_config *cfg, const wchar_t *filename) {
|
||
|
cfg->enable = GetPrivateProfileIntW(L"unity", L"enable", 1, filename);
|
||
|
|
||
|
GetPrivateProfileStringW(
|
||
|
L"unity",
|
||
|
L"targetAssembly",
|
||
|
L"",
|
||
|
cfg->target_assembly,
|
||
|
_countof(cfg->target_assembly),
|
||
|
filename
|
||
|
);
|
||
|
}
|