segatools/platform/platform.h

38 lines
932 B
C
Raw Permalink 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"
2023-09-15 05:35:33 +00:00
#include "platform/epay.h"
2019-11-06 00:31:11 +00:00
#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"
2023-07-13 22:41:23 +00:00
#include "platform/dipsw.h"
2019-11-06 00:31:11 +00:00
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;
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;
2023-07-13 22:41:23 +00:00
struct dipsw_config dipsw;
2019-11-06 00:31:11 +00:00
};
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);