Skip to content

Commit

Permalink
Merge upstream changes from GUI branch and make ready for release
Browse files Browse the repository at this point in the history
  • Loading branch information
joel16 committed Sep 20, 2017
1 parent 9f73a06 commit c4fe674
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
File renamed without changes.
12 changes: 6 additions & 6 deletions source/system.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const char * getRegion(void)
"Unknown"
};

u8 region = 0;
CFG_Region region = 0;

if (R_SUCCEEDED(CFGU_SecureInfoGetRegion(&region)))
{
Expand Down Expand Up @@ -104,7 +104,7 @@ const char * getLang(void)
"Unknown"
};

u8 language;
CFG_Language language;

if (R_SUCCEEDED(CFGU_GetSystemLanguage(&language)))
{
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit c4fe674

Please sign in to comment.