forked from Hay1tsme/segatools
fgo: fgohook finally added
Credits: - Coburn - domeori - Mitsuhide - OLEG - rakisaionji
This commit is contained in:
20
fgoio/config.c
Normal file
20
fgoio/config.c
Normal file
@ -0,0 +1,20 @@
|
||||
#include <windows.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "fgoio/config.h"
|
||||
|
||||
|
||||
void fgo_io_config_load(
|
||||
struct fgo_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);
|
||||
cfg->vk_coin = GetPrivateProfileIntW(L"io4", L"coin", '3', filename);
|
||||
}
|
Reference in New Issue
Block a user