apt: fix doc format

This commit is contained in:
wwylele 2018-02-09 18:10:46 +02:00
parent 8970e28031
commit 66141ed004

View file

@ -181,12 +181,10 @@ public:
/**
* APT::IsRegistered service function. This returns whether the specified AppID is
* registered with
* NS yet. An AppID is "registered" once the process associated with the AppID uses
* APT:Enable. Home
* Menu uses this command to determine when the launched process is running and to determine
* when to
* stop using GSP, etc., while displaying the "Nintendo 3DS" loading screen.
* registered with NS yet. An AppID is "registered" once the process associated with the
* AppID uses APT:Enable. Home Menu uses this command to determine when the launched process
* is running and to determine when to stop using GSP, etc., while displaying the "Nintendo
* 3DS" loading screen.
*
* Inputs:
* 1 : AppID
@ -219,14 +217,10 @@ public:
/**
* APT::ReceiveParameter service function. This returns the current parameter data from NS
* state,
* from the source process which set the parameters. Once finished, NS will clear a flag in
* the NS
* state so that this command will return an error if this command is used again if
* parameters were
* not set again. This is called when the second Initialize event is triggered. It returns a
* signal
* type indicating why it was triggered.
* state, from the source process which set the parameters. Once finished, NS will clear a
* flag in the NS state so that this command will return an error if this command is used
* again if parameters were not set again. This is called when the second Initialize event
* is triggered. It returns a signal type indicating why it was triggered.
* Inputs:
* 1 : AppID
* 2 : Parameter buffer size, max size is 0x1000
@ -245,10 +239,9 @@ public:
/**
* APT::GlanceParameter service function. This is exactly the same as
* APT_U::ReceiveParameter
* (except for the word value prior to the output handle), except this will not clear the
* flag
* (except when responseword[3]==8 || responseword[3]==9) in NS state.
* APT_U::ReceiveParameter (except for the word value prior to the output handle), except
* this will not clear the flag (except when responseword[3]==8 || responseword[3]==9) in NS
* state.
* Inputs:
* 1 : AppID
* 2 : Parameter buffer size, max size is 0x1000
@ -267,11 +260,9 @@ public:
/**
* APT::CancelParameter service function. When the parameter data is available, and when the
* above
* specified fields match the ones in NS state(for the ones where the checks are enabled),
* this
* clears the flag which indicates that parameter data is available
* (same flag cleared by APT:ReceiveParameter).
* above specified fields match the ones in NS state(for the ones where the checks are
* enabled), this clears the flag which indicates that parameter data is available (same
* flag cleared by APT:ReceiveParameter).
* Inputs:
* 1 : Flag, when non-zero NS will compare the word after this one with a field in the
* NS
@ -293,16 +284,12 @@ public:
/**
* APT::PrepareToStartApplication service function. When the input title-info programID is
* zero,
* NS will load the actual program ID via AMNet:GetTitleIDList. After doing some checks with
* the
* programID, NS will then set a NS state flag to value 1, then set the programID for AppID
* 0x300(application) to the input program ID(or the one from GetTitleIDList). A media-type
* field
* in the NS state is also set to the input media-type value
* (other state fields are set at this point as well). With 8.0.0-18, NS will set an u8 NS
* state
* field to value 1 when input flags bit8 is set
* zero, NS will load the actual program ID via AMNet:GetTitleIDList. After doing some
* checks with the programID, NS will then set a NS state flag to value 1, then set the
* programID for AppID 0x300(application) to the input program ID(or the one from
* GetTitleIDList). A media-type field in the NS state is also set to the input media-type
* value (other state fields are set at this point as well). With 8.0.0-18, NS will set an
* u8 NS state field to value 1 when input flags bit8 is set.
* Inputs:
* 1-4 : 0x10-byte title-info struct
* 4 : Flags
@ -314,8 +301,7 @@ public:
/**
* APT::StartApplication service function. Buf0 is copied to NS FIRMparams+0x0, then Buf1 is
* copied
* to the NS FIRMparams+0x480. Then the application is launched.
* copied to the NS FIRMparams+0x480. Then the application is launched.
* Inputs:
* 1 : Buffer 0 size, max size is 0x300
* 2 : Buffer 1 size, max size is 0x20 (this can be zero)