Initial Commit

This commit is contained in:
2023-01-02 23:35:53 -05:00
parent a302b49950
commit ceee973ad7
150 changed files with 12229 additions and 89 deletions

34
platform/platform.h Normal file
View File

@ -0,0 +1,34 @@
#pragma once
#include "platform/netenv.h"
#include "platform/locale.h"
#include "platform/clock.h"
#include "platform/dns.h"
#include "platform/jvs.h"
#include "platform/misc.h"
#include "platform/vfs.h"
#include "platform/es3sec.h"
struct platform_config {
struct clock_config clock;
struct netenv_config netenv;
struct locale_config locale;
struct dns_config dns;
struct jvs_config jvs;
struct misc_config misc;
struct vfs_config vfs;
struct es3sec_config dongle;
};
enum platform_type {
PLATFORM_ES2,
PLATFORM_ES3,
PLATFORM_BNA1,
};
HRESULT platform_hook_init(
const struct platform_config *cfg,
enum platform_type type,
jvs_provider_t jvs,
HMODULE redir_mod
);