mirror of
https://github.com/joel16/3DSident.git
synced 2024-11-23 03:29:45 +00:00
Merge upstream changes from GUI branch and make ready for release
This commit is contained in:
parent
9f73a067d4
commit
c4fe6742a1
@ -43,7 +43,7 @@ const char * getRegion(void)
|
|||||||
"Unknown"
|
"Unknown"
|
||||||
};
|
};
|
||||||
|
|
||||||
u8 region = 0;
|
CFG_Region region = 0;
|
||||||
|
|
||||||
if (R_SUCCEEDED(CFGU_SecureInfoGetRegion(®ion)))
|
if (R_SUCCEEDED(CFGU_SecureInfoGetRegion(®ion)))
|
||||||
{
|
{
|
||||||
@ -104,7 +104,7 @@ const char * getLang(void)
|
|||||||
"Unknown"
|
"Unknown"
|
||||||
};
|
};
|
||||||
|
|
||||||
u8 language;
|
CFG_Language language;
|
||||||
|
|
||||||
if (R_SUCCEEDED(CFGU_GetSystemLanguage(&language)))
|
if (R_SUCCEEDED(CFGU_GetSystemLanguage(&language)))
|
||||||
{
|
{
|
||||||
@ -132,16 +132,16 @@ char * getRunningHW(void)
|
|||||||
|
|
||||||
switch (*data)
|
switch (*data)
|
||||||
{
|
{
|
||||||
case 1:
|
case 0x1:
|
||||||
snprintf(runningHW, 0x7, "Retail");
|
snprintf(runningHW, 0x7, "Retail");
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 0x2:
|
||||||
snprintf(runningHW, 0x9, "Devboard");
|
snprintf(runningHW, 0x9, "Devboard");
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 0x3:
|
||||||
snprintf(runningHW, 0x9, "Debugger");
|
snprintf(runningHW, 0x9, "Debugger");
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 0x4:
|
||||||
snprintf(runningHW, 0x8, "Capture");
|
snprintf(runningHW, 0x8, "Capture");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user