diff options
| author | fig02 <fig02srl@gmail.com> | 2020-04-05 13:46:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-05 13:46:18 -0400 |
| commit | ab669e16ebaa18fd60a367c9d50be2f2c9800c09 (patch) | |
| tree | 0093367ebf3d67a5351e70d0466ebedafc2aa826 /src/code/z_sample.c | |
| parent | b96c016948539c9a9de28fb9658ec550d59b0f3a (diff) | |
| parent | 43acba22a94c4e90a237dda5a3376c099633cbda (diff) | |
Merge pull request #50 from Random06457/master
Decompile graph.c
Diffstat (limited to 'src/code/z_sample.c')
| -rw-r--r-- | src/code/z_sample.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code/z_sample.c b/src/code/z_sample.c index 3a7ca5885..fa995e06e 100644 --- a/src/code/z_sample.c +++ b/src/code/z_sample.c @@ -15,10 +15,10 @@ void Sample_Draw(SampleContext* this) { u32 pad; GraphicsContext* gfxCtx = this->state.gfxCtx; View* view = &this->view; - Gfx* gfxArr[4]; + Gfx* dispRefs[4]; Mtx* mtx; - func_800C6AC4(gfxArr, gfxCtx, "../z_sample.c", 62); + Graph_OpenDisps(dispRefs, gfxCtx, "../z_sample.c", 62); gSPSegment(gfxCtx->polyOpa.p++, 0x00, NULL); gSPSegment(gfxCtx->polyOpa.p++, 0x01, this->staticSegment); @@ -41,7 +41,7 @@ void Sample_Draw(SampleContext* this) { PRIMITIVE); gDPSetPrimColor(gfxCtx->polyOpa.p++, 0, 0, 0xFF, 0xFF, 0x00, 0x00); - func_800C6B54(gfxArr, gfxCtx, "../z_sample.c", 111); + Graph_CloseDisps(dispRefs, gfxCtx, "../z_sample.c", 111); } #else #pragma GLOBAL_ASM("asm/non_matchings/code/z_sample/Sample_Draw.s") |
