dongle: add vid and pid arguments

This commit is contained in:
2023-01-25 21:09:38 -05:00
parent 914ddc3e93
commit fd99f8956a
6 changed files with 211 additions and 28 deletions

View File

@ -9,6 +9,11 @@
#include "platform/vfs.h"
#include "platform/es3sec.h"
struct dongle_info {
USHORT pid;
USHORT vid;
};
struct platform_config {
struct clock_config clock;
struct netenv_config netenv;
@ -30,5 +35,6 @@ HRESULT platform_hook_init(
const struct platform_config *cfg,
enum platform_type type,
jvs_provider_t jvs,
HMODULE redir_mod
HMODULE redir_mod,
struct dongle_info d_info
);