mirror of
https://github.com/zeldaret/tp
synced 2026-05-29 08:43:05 -04:00
1114b13da8
* d_a_alldie / d_a_tboxSw / d_a_tag_gstart / d_a_tag_hstop * dolphin OS work / cleanup * dolphin GX work / cleanup * finish changing dolphin files to C * more files into C * match rest of MSL_C math functions * more dolphin files converted to C * remove asm * d_bg_w work * remove asm * d_a_alink work / kytag14
23 lines
475 B
C
23 lines
475 B
C
/**
|
|
* GXDisplayList.c
|
|
* Description:
|
|
*/
|
|
|
|
#include "dolphin/gx/GXDisplayList.h"
|
|
#include "dolphin/gx/GX.h"
|
|
|
|
/* 8035FEF0-8035FF60 35A830 0070+00 0/0 20/20 4/4 .text GXCallDisplayList */
|
|
void GXCallDisplayList(void* list, u32 nbytes) {
|
|
if (__GXData->field_0x5ac != 0) {
|
|
__GXSetDirtyState();
|
|
}
|
|
|
|
if (*(u32*)__GXData == 0) {
|
|
__GXSendFlushPrim();
|
|
}
|
|
|
|
GFX_FIFO(u8) = 0x40;
|
|
GFX_FIFO(u32) = (u32)list;
|
|
GFX_FIFO(u32) = nbytes;
|
|
}
|