platform: Shift config structs around

This commit is contained in:
Tau
2019-11-05 19:31:11 -05:00
parent a87b8f72fa
commit 8b8656c9d2
19 changed files with 114 additions and 85 deletions

View File

@ -2,7 +2,21 @@
#include <windows.h>
#include "platform/config.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
struct nusec_config {
bool enable;
char keychip_id[16];
char game_id[4];
char platform_id[4];
uint8_t region;
uint8_t system_flag;
uint32_t subnet;
wchar_t billing_ca[MAX_PATH];
wchar_t billing_pub[MAX_PATH];
};
HRESULT nusec_hook_init(
const struct nusec_config *cfg,