mirror of
https://gitea.tendokyu.moe/Dniel97/segatools.git
synced 2024-11-24 05:20:10 +01:00
26 lines
494 B
C
26 lines
494 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)
|
|
{
|
|
wchar_t key[16];
|
|
int i;
|
|
|
|
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);
|
|
}
|