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"
|
2023-09-15 05:35:33 +00:00
|
|
|
#include "platform/epay.h"
|
2019-11-06 00:31:11 +00:00
|
|
|
#include "platform/hwmon.h"
|
2020-10-07 17:27:23 +00:00
|
|
|
#include "platform/hwreset.h"
|
2019-11-06 00:31:11 +00:00
|
|
|
#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;
|
2023-09-15 05:35:33 +00:00
|
|
|
struct epay_config epay;
|
2019-11-06 00:31:11 +00:00
|
|
|
struct hwmon_config hwmon;
|
2020-10-07 17:27:23 +00:00
|
|
|
struct hwreset_config hwreset;
|
2019-11-06 00:31:11 +00:00
|
|
|
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);
|