mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-13 11:24:40 +00:00
Use macros for oGfxCtx accesses (#465)
* fix colliderinit typo * fix initchain * reloc * add defines * add defines * missed some on merge * rename gfxCtx and add comment * remove space
This commit is contained in:
parent
92bb1fb210
commit
3c5fe66dcd
195 changed files with 2236 additions and 2229 deletions
|
@ -1861,13 +1861,13 @@ void func_80068C3C(GlobalContext* globalCtx, CutsceneContext* csCtx) {
|
|||
if (BREG(0) != 0) {
|
||||
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_demo.c", 4101);
|
||||
|
||||
prevDisplayList = oGfxCtx->polyOpa.p;
|
||||
displayList = Graph_GfxPlusOne(oGfxCtx->polyOpa.p);
|
||||
gSPDisplayList(oGfxCtx->overlay.p++, displayList);
|
||||
prevDisplayList = POLY_OPA_DISP;
|
||||
displayList = Graph_GfxPlusOne(POLY_OPA_DISP);
|
||||
gSPDisplayList(OVERLAY_DISP++, displayList);
|
||||
Cutscene_DrawDebugInfo(globalCtx, &displayList, csCtx);
|
||||
gSPEndDisplayList(displayList++);
|
||||
Graph_BranchDlist(prevDisplayList, displayList);
|
||||
oGfxCtx->polyOpa.p = displayList;
|
||||
POLY_OPA_DISP = displayList;
|
||||
|
||||
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_demo.c", 4108);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue