mirror of
https://github.com/zeldaret/ss
synced 2026-05-23 23:05:20 -04:00
26af4db82d
* update from dtk-template and start work towards using clangd * include <a> -> "a" * Update build.yml * remove/add non-trivial class in union warning
37 lines
637 B
C
37 lines
637 B
C
#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
|