1
0
mirror of synced 2024-12-18 07:05:52 +01:00
bananatools/amcus/config.h

22 lines
491 B
C
Raw Normal View History

2023-01-03 05:35:53 +01:00
#pragma once
#include <stdbool.h>
#include <stdint.h>
#include "platform/es3sec.h"
2023-02-12 20:45:41 +01:00
#include "platform/netenv.h"
2023-01-03 05:35:53 +01:00
struct amcus_config {
bool enable;
wchar_t game_id[5];
2023-03-10 08:53:00 +01:00
wchar_t game_cd[5];
2023-01-03 05:35:53 +01: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 20:45:41 +01:00
struct netenv_config netenv;
2023-01-03 05:35:53 +01:00
};
2023-02-11 07:55:56 +01:00
void amcus_config_load(struct amcus_config *cfg, const wchar_t *filename);