Skip to content

Commit

Permalink
Moved includes to include dir, and merged changes from GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
joel16 committed Jun 9, 2017
1 parent 884797d commit c0fe6d3
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 210 deletions.
25 changes: 0 additions & 25 deletions include/frd.h

This file was deleted.

21 changes: 0 additions & 21 deletions source/actu.h

This file was deleted.

8 changes: 0 additions & 8 deletions source/am.h

This file was deleted.

7 changes: 0 additions & 7 deletions source/cfgs.h

This file was deleted.

62 changes: 0 additions & 62 deletions source/frd.c

This file was deleted.

25 changes: 0 additions & 25 deletions source/frd.h

This file was deleted.

13 changes: 0 additions & 13 deletions source/fs.h

This file was deleted.

5 changes: 0 additions & 5 deletions source/gsplcd.h

This file was deleted.

2 changes: 1 addition & 1 deletion source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ int main(int argc, char *argv[])
//-----------------------------System Info-----------------------------//
//=====================================================================//

printf("\x1b[31;1m*\x1b[0m Model: \x1b[31;1m%s %s\n\x1b[0m", getModel(), getRegion());
printf("\x1b[31;1m*\x1b[0m Model: \x1b[31;1m%s\x1b[0m (\x1b[31;1m%s\x1b[0m) \n\x1b[0m", getModel(), getRegion());
printf("\x1b[31;1m*\x1b[0m Screen type: \x1b[31;1m %s \n\x1b[0m", getScreenType());
printf("\x1b[31;1m*\x1b[0m Language: \x1b[31;1m%s\x1b[0m \n", getLang());
printf("\x1b[31;1m*\x1b[0m NNID: \x1b[31;1m%s\x1b[0m ", (char*)getNNID());
Expand Down
11 changes: 0 additions & 11 deletions source/mcu.h

This file was deleted.

17 changes: 0 additions & 17 deletions source/screenshot.h

This file was deleted.

19 changes: 10 additions & 9 deletions source/system.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,22 @@ const char * getModel()
{
const char *models[] =
{
"O3DS",
"O3DS XL",
"N3DS",
"2DS",
"N3DS XL",
"Unknown"
"OLD 3DS - CTR",
"OLD 3DS XL - SPR",
"NEW 3DS - KTR",
"OLD 2DS - FTR",
"NEW 3DS XL - RED",
"NEW 2DS XL - JAN",
"Unknown"
};

u8 model = 0;
CFGU_GetSystemModel(&model);

if (model < 5)
if (model < 6)
return models[model];
else
return models[5];
return models[6];
}

const char * getRegion()
Expand Down Expand Up @@ -225,4 +226,4 @@ char * getBrightness(u32 screen)
return "5 (100%)";
else
return "n3DS only";
}
}
6 changes: 0 additions & 6 deletions source/utils.h

This file was deleted.

0 comments on commit c0fe6d3

Please sign in to comment.