bananatools/amcus/config.h

22 lines
491 B
C
Raw Permalink Normal View History

2023-01-03 04:35:53 +00:00
#pragma once
#include <stdbool.h>
#include <stdint.h>
#include "platform/es3sec.h"
2023-02-12 19:45:41 +00:00
#include "platform/netenv.h"
2023-01-03 04:35:53 +00:00
struct amcus_config {
bool enable;
wchar_t game_id[5];
2023-03-10 07:53:00 +00:00
wchar_t game_cd[5];
2023-01-03 04:35:53 +00:00
wchar_t am_game_ver[6];
wchar_t cacfg_game_ver[6];
wchar_t server_uri[257];
wchar_t server_host[257];
wchar_t am_serial[12];
struct es3sec_config dongle;
2023-02-12 19:45:41 +00:00
struct netenv_config netenv;
2023-01-03 04:35:53 +00:00
};
2023-02-11 06:55:56 +00:00
void amcus_config_load(struct amcus_config *cfg, const wchar_t *filename);