diff options
| author | fig02 <fig02srl@gmail.com> | 2020-10-29 17:31:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-29 17:31:09 -0400 |
| commit | 3c5fe66dcd45cd5cb100c02196021d8d13341991 (patch) | |
| tree | 8de26c4588a0d2e41661fb381a1d1796d6b9bd49 /src/code/z_debug.c | |
| parent | 92bb1fb21006189ced43ab28753a12adc9aa21fc (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.c | 8 |
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) {} |
