GsSetWorkBase

Sets the base address of the drawing command area

void GsSetWorkBase (
        PACKET *base_addr
)

Arguments

base_addr Pointer to the first PACKET of the drawing command area

Return Value

None.

Explanation

The address of the packet at the start of the drawing command work area is set to the address specified by base_addr.
The drawing command work area is used by functions such as GsSortObject4() and GsSortSprite().
This function must be called at the start of processing for each frame.
base_addr should be set to the starting address of the packet area allocated by the user.
Note that the type PACKET is defined as an unsigned char in libps.h.

See Also

GsSortObject4(), GsSortSprite(), GsSortFastSprite(), GsOUT_PACKET_P