nn::gd::CTR::System::StartRecordingPackets Member Function

Syntax

static nnResult StartRecordingPackets(
     u32 * forceDirtyModuleFlag
);

Arguments

Name Description
in forceDirtyModuleFlag Specifies the flag that sets reconfigurable status for the command of a particular module. Module status does not change when NULL is specified.

Return Values

Returns the result of the operation.
Value Description
Result::IsSuccess Process was successful.
ResultSystemAPacketIsAlreadyBeingRecorded Save has already started.
ResultOutOfMemory Could not allocate memory.
ResultSystemReceiveErrorFromGlGetError An error was generated by the nngxStartCmdlistSave function.

Description

Starts saving the current command list object.

Saving is stopped by calling the StopRecordingPackets function. In some cases, only difference commands are generated when functions are called normally between calls to the StartRecordingPackets and StopRecordingPackets functions. Therefore, use forceDirtyModuleFlag, if necessary, to set the status so that a particular module command is generated (such as when resetting a state object already set).

Revision History

2011/02/17
Initial version.

CONFIDENTIAL