mirror of
https://github.com/joel16/3DSident.git
synced 2024-11-23 03:29:45 +00:00
Display running hw like GUI
This commit is contained in:
parent
d3f8b192f3
commit
25107b62e2
@ -40,7 +40,7 @@ char * getVersion(int version)
|
||||
|
||||
if (version == 0)
|
||||
return str_kernel;
|
||||
else if(version == 1)
|
||||
else if (version == 1)
|
||||
return str_ver;
|
||||
else
|
||||
return str_sysver;
|
||||
@ -80,9 +80,9 @@ char * getNandCid(void)
|
||||
|
||||
u32 getDeviceId(void) // Same as PS_GetDeviceId
|
||||
{
|
||||
u32 id = 0;
|
||||
u32 id = 0;
|
||||
|
||||
if (R_SUCCEEDED(AM_GetDeviceId(&id)))
|
||||
if (R_SUCCEEDED(AM_GetDeviceId(&id)))
|
||||
return id;
|
||||
|
||||
return 0;
|
||||
|
@ -200,7 +200,7 @@ int main(int argc, char *argv[])
|
||||
//-----------------------------System Info-----------------------------//
|
||||
//=====================================================================//
|
||||
|
||||
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 Model: \x1b[31;1m%s\x1b[0m (\x1b[31;1m%s\x1b[0m - \x1b[31;1m%s\x1b[0m) \n\x1b[0m", getModel(), getRunningHW(), 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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user