mirror of
https://gitea.tendokyu.moe/Dniel97/segatools.git
synced 2024-11-11 23:17:08 +01:00
17 lines
341 B
C
17 lines
341 B
C
#include <windows.h>
|
|
|
|
#include <assert.h>
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
|
|
#include "hooklib/config.h"
|
|
#include "hooklib/dvd.h"
|
|
|
|
void dvd_config_load(struct dvd_config *cfg, const wchar_t *filename)
|
|
{
|
|
assert(cfg != NULL);
|
|
assert(filename != NULL);
|
|
|
|
cfg->enable = GetPrivateProfileIntW(L"dvd", L"enable", 1, filename);
|
|
}
|