2019-05-18 05:10:09 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
2019-11-06 01:31:11 +01:00
|
|
|
#include "platform/amvideo.h"
|
|
|
|
#include "platform/clock.h"
|
|
|
|
#include "platform/dns.h"
|
|
|
|
#include "platform/hwmon.h"
|
2020-10-07 19:27:23 +02:00
|
|
|
#include "platform/hwreset.h"
|
2019-11-06 01:31:11 +01: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;
|
|
|
|
struct hwmon_config hwmon;
|
2020-10-07 19:27:23 +02:00
|
|
|
struct hwreset_config hwreset;
|
2019-11-06 01:31:11 +01:00
|
|
|
struct misc_config misc;
|
|
|
|
struct pcbid_config pcbid;
|
|
|
|
struct netenv_config netenv;
|
|
|
|
struct nusec_config nusec;
|
|
|
|
struct vfs_config vfs;
|
|
|
|
};
|
2019-05-18 05:10:09 +02:00
|
|
|
|
2019-11-03 15:52:33 +01:00
|
|
|
HRESULT platform_hook_init(
|
|
|
|
const struct platform_config *cfg,
|
2019-05-18 05:10:09 +02:00
|
|
|
const char *game_id,
|
|
|
|
const char *platform_id,
|
|
|
|
HMODULE redir_mod);
|