mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-25 07:02:47 -04:00
8b4808da8a
* TRK full match * remove trk asm * ar done * cleanup some dolphin headers * more dolphin cleanup * cleanup / GD fully matched * almost all of GX fully matched * GX / Mtx full matched * most of OS done * pad done * most of VI * remove asm * forgot couple vec funcs * couple JUtility matches
23 lines
468 B
C
23 lines
468 B
C
/**
|
|
* GXDisplayList.c
|
|
* Description:
|
|
*/
|
|
|
|
#include "dolphin/gx/GXDisplayList.h"
|
|
#include "dolphin/gx.h"
|
|
|
|
/* 8035FEF0-8035FF60 35A830 0070+00 0/0 20/20 4/4 .text GXCallDisplayList */
|
|
void GXCallDisplayList(void* list, u32 nbytes) {
|
|
if (__GXData->dirtyState != 0) {
|
|
__GXSetDirtyState();
|
|
}
|
|
|
|
if (*(u32*)__GXData == 0) {
|
|
__GXSendFlushPrim();
|
|
}
|
|
|
|
GXWGFifo.u8 = 0x40;
|
|
GXWGFifo.u32 = (u32)list;
|
|
GXWGFifo.u32 = nbytes;
|
|
}
|