1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#ifndef RVL_SDK_SC_SCAPI_PRDINFO_H
#define RVL_SDK_SC_SCAPI_PRDINFO_H
#include "common.h"
#ifdef __cplusplus
extern "C" {
#endif
#define SC_PRDINFO_SIZE 0x100
typedef enum {
SC_AREA_JPN,
SC_AREA_USA,
SC_AREA_EUR,
SC_AREA_AUS,
SC_AREA_BRA,
SC_AREA_TWN,
SC_AREA_KOR,
SC_AREA_HKG,
SC_AREA_ASI,
SC_AREA_LTN,
SC_AREA_SAF,
} SCProductArea;
typedef struct SCRegion {
s8 area; // at 0x0
char name[4]; // at 0x1
} SCRegion;
BOOL __SCF1(const char *type, char *buf, u32 sz);
BOOL SCGetProductAreaString(char *buf, u32 sz);
s8 SCGetProductArea(void);
#ifdef __cplusplus
}
#endif
#endif
|