taitools/platform/platform.h
2024-02-06 03:24:58 -05:00

28 lines
634 B
C

#pragma once
#include <windows.h>
#include "platform/clock.h"
#include "platform/dns.h"
#include "platform/misc.h"
#include "platform/netenv.h"
#include "platform/ttxsec.h"
#include "platform/vfs.h"
#include "platform/syscfg.h"
struct platform_config {
struct clock_config clock;
struct dns_config dns;
struct misc_config misc;
struct netenv_config netenv;
struct ttxsec_config ttxsec;
struct vfs_config vfs;
struct syscfg_config syscfg;
};
HRESULT platform_hook_init(
const struct platform_config *cfg,
const char *game_id,
const char *platform_id,
HMODULE redir_mod);