nn::gd::CTR::System::GetCommandBufferBaseAddress Member Function

Syntax

static nnResult GetCommandBufferBaseAddress(
     RecordedPacketId * packetId,
     u32 ** commandBufferAddr
);

Arguments

Name Description
in packetId Specifies a saved packet object.
out commandBufferAddr Specifies the address storing the base address value of the command buffer being saved.

Return Values

Returns the result of the operation.
Value Description
Result::IsSuccess Process was successful.
ResultNullParameter NULL was specified in an argument.
ResultSystemNoPacketRecorded The command list object has not been saved. Be sure to call StartRecordingPackets andStopRecordingPackets.

Description

Gets the base address of the saved command buffer.

See Also

System::StartRecordingPackets

Revision History

2011/02/17
Initial version.

CONFIDENTIAL