segatools/platform/platform.h

34 lines
817 B
C
Raw Normal View History

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/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;
struct hwmon_config hwmon;
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
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);