2019-05-18 03:10:09 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
2019-11-06 00:31:11 +00:00
|
|
|
#include "platform/amvideo.h"
|
|
|
|
#include "platform/clock.h"
|
|
|
|
#include "platform/dns.h"
|
|
|
|
#include "platform/hwmon.h"
|
|
|
|
#include "platform/misc.h"
|
|
|
|
#include "platform/netenv.h"
|
|
|
|
#include "platform/nusec.h"
|
|
|
|
#include "platform/pcbid.h"
|
|
|
|
#include "platform/vfs.h"
|
|
|
|
|
|
|
|
struct platform_config {
|
|
|
|
struct amvideo_config amvideo;
|
|
|
|
struct clock_config clock;
|
|
|
|
struct dns_config dns;
|
|
|
|
struct hwmon_config hwmon;
|
|
|
|
struct misc_config misc;
|
|
|
|
struct pcbid_config pcbid;
|
|
|
|
struct netenv_config netenv;
|
|
|
|
struct nusec_config nusec;
|
|
|
|
struct vfs_config vfs;
|
|
|
|
};
|
2019-05-18 03:10:09 +00:00
|
|
|
|
2019-11-03 14:52:33 +00:00
|
|
|
HRESULT platform_hook_init(
|
|
|
|
const struct platform_config *cfg,
|
2019-05-18 03:10:09 +00:00
|
|
|
const char *game_id,
|
|
|
|
const char *platform_id,
|
|
|
|
HMODULE redir_mod);
|