#include <revolution/gx.h> void GXSetMisc( GXMiscToken token, u32 value );
| token | value | Description |
| GX_MT_XF_FLUSH | GX_XF_FLUSH_NONE |
Sends no flush vertices between raster-state commands and geometry. This is the default setting. |
|---|---|---|
GX_XF_FLUSH_SAFE |
Sends flush vertices between raster-state commands and geometry. Use this setting to avoid the XF stall bug. However, this setting is slightly detrimental in terms of speed, memory usage, and other factors, so attempt it only when the XF stall bug occurs. | |
| GX_MT_DL_SAVE_CONTEXT | 0 | Disables the saving of GX shadow registers in GXBeginDisplayList and their restoration in GXEndDisplayList. This saves time. |
| 1 | Enables the saving of GX shadow registers in GXBeginDisplayList and their restoration in GXEndDisplayList. This is the default setting. |
None.
This function is used to control settings passed to various functions.
None.
2008/07/22 Added information on the purpose of using GX_XF_FLUSH_SAFE (the workaround for the XF stall bug).
2006/03/01 Initial version.
CONFIDENTIAL