1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-11-13 16:00:46 +01:00
segatools-dniel97/mercuryio/config.c
2023-02-13 03:07:36 -05:00

23 lines
461 B
C

#include <windows.h>
#include <assert.h>
#include <stddef.h>
#include <stdio.h>
#include "mercuryio/config.h"
/*
Wacca Default key binding
*/
void mercury_io_config_load(
struct mercury_io_config *cfg,
const wchar_t *filename)
{
assert(cfg != NULL);
assert(filename != NULL);
cfg->vk_test = GetPrivateProfileIntW(L"io4", L"test", '1', filename);
cfg->vk_service = GetPrivateProfileIntW(L"io4", L"service", '2', filename);
}