mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-05 11:33:39 -04:00
cd401d41d6
* work on fop actor / actor mng, daalink, d_a_obj_item * d_a_title mostly decompiled * daalink / d_event / JMessage / dmsg_out_font work * msg_scrn_base / msg_scrn_boss * some work on mDo machine, d_menu_save, d_tresure, and various * remove asm * progress * finish d_menu_save / d_pane_class_alpha / d_pane_class / rename some data * rename more data * remove asm / progress * match all of d_pane_class * fixes / some dKankyo doc * bunch of j2d work. d_drawlist / d_attention cleanup * progress / asm * cleanup wip * decompile JStage * setup some more JStudio structs * set up d_demo classes * some d_demo work * cleanup dolphin os stuff * some initial dEvent documentation * some At collision documentation * match JUTConsole::doDraw * dbgs work / split up some of d_a_alink into .inc files * d_a_alink_spinner work
20 lines
479 B
C++
20 lines
479 B
C++
#include "dolphin/gx/GXDisplayList.h"
|
|
#include "dolphin/gx/GX.h"
|
|
#include "dol2asm.h"
|
|
#include "dolphin/types.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;
|
|
}
|