MakeChannelKickCommand

nn::gr::CTR::MakeChannelKickCommand Function

Syntax

bit32 * MakeChannelKickCommand(
     bit32 * command,
     const CommandBufferChannel channel
);

Parameters

Name Description
in command The start address for storing the rendering command.
in channel The channel number.

Return Values

Returns the address that follows the end of the stored rendering command.

Description

Adds a kick command to the specified channel.

Generates a write command to register 0x23c in the case of Channel 0, or to register 0x23d in the case of Channel 1.

Store these commands at the end of the command buffer. Because the byte size of the command buffer must be a multiple of 16, you must create dummy write commands ahead of time to adjust the byte size.

The byte size of commands added by this function is 8 bytes.

Revision History

2011/07/29
Initial version.

CONFIDENTIAL