diff --git a/include/ac.h b/include/services/ac.h similarity index 100% rename from include/ac.h rename to include/services/ac.h diff --git a/source/system.c b/source/system.c index 3d9e723..49cfbc3 100644 --- a/source/system.c +++ b/source/system.c @@ -43,7 +43,7 @@ const char * getRegion(void) "Unknown" }; - u8 region = 0; + CFG_Region region = 0; if (R_SUCCEEDED(CFGU_SecureInfoGetRegion(®ion))) { @@ -104,7 +104,7 @@ const char * getLang(void) "Unknown" }; - u8 language; + CFG_Language language; if (R_SUCCEEDED(CFGU_GetSystemLanguage(&language))) { @@ -132,16 +132,16 @@ char * getRunningHW(void) switch (*data) { - case 1: + case 0x1: snprintf(runningHW, 0x7, "Retail"); break; - case 2: + case 0x2: snprintf(runningHW, 0x9, "Devboard"); break; - case 3: + case 0x3: snprintf(runningHW, 0x9, "Debugger"); break; - case 4: + case 0x4: snprintf(runningHW, 0x8, "Capture"); break; }