summaryrefslogtreecommitdiff
path: root/src/code/z_debug.c
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2020-10-29 17:31:09 -0400
committerGitHub <noreply@github.com>2020-10-29 17:31:09 -0400
commit3c5fe66dcd45cd5cb100c02196021d8d13341991 (patch)
tree8de26c4588a0d2e41661fb381a1d1796d6b9bd49 /src/code/z_debug.c
parent92bb1fb21006189ced43ab28753a12adc9aa21fc (diff)
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
Diffstat (limited to 'src/code/z_debug.c')
-rw-r--r--src/code/z_debug.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code/z_debug.c b/src/code/z_debug.c
index 0ee403868..91137e190 100644
--- a/src/code/z_debug.c
+++ b/src/code/z_debug.c
@@ -223,9 +223,9 @@ void func_80063D7C(GraphicsContext* gfxCtx) {
OPEN_DISPS(gfxCtx, "../z_debug.c", 628);
GfxPrint_Init(&gfxPrint);
- sp78 = oGfxCtx->polyOpa.p;
- tempRet = Graph_GfxPlusOne(oGfxCtx->polyOpa.p);
- gSPDisplayList(oGfxCtx->overlay.p++, tempRet);
+ sp78 = POLY_OPA_DISP;
+ tempRet = Graph_GfxPlusOne(POLY_OPA_DISP);
+ gSPDisplayList(OVERLAY_DISP++, tempRet);
GfxPrint_Open(&gfxPrint, tempRet);
if ((OREG(0) == 1) || (OREG(0) == 8)) {
@@ -240,7 +240,7 @@ void func_80063D7C(GraphicsContext* gfxCtx) {
sp7C = GfxPrint_Close(&gfxPrint);
gSPEndDisplayList(sp7C++);
Graph_BranchDlist(sp78, sp7C);
- oGfxCtx->polyOpa.p = sp7C;
+ POLY_OPA_DISP = sp7C;
if (0) {}