Implement CheckNew3DS and CheckNew3DSApp

Append an item[is_new3ds] to config file[System] group

Implement APT::SetNSStateField,it will update the unknown NS_state_field
This commit is contained in:
JamePeng
2016-04-20 18:12:05 +08:00
parent a4c5d8fd50
commit 7129611e65
11 changed files with 145 additions and 14 deletions

View File

@@ -88,6 +88,14 @@ void GetTotalStepCount(Interface* self);
*/
void IsLegacyPowerOff(Interface* self);
/**
* PTM::CheckNew3DS service function
* Outputs:
* 1: Result code, 0 on success, otherwise error code
* 2: u8 output: 0 = Old3DS, 1 = New3DS.
*/
void CheckNew3DS(Interface* self);
/// Initialize the PTM service
void Init();