diff options
| author | Tharo <17233964+Thar0@users.noreply.github.com> | 2021-10-29 19:30:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-29 15:30:48 -0300 |
| commit | b1b114e142f05443524d91b4127d9bf97fe75a28 (patch) | |
| tree | 5ce14d46785f45f07819ef20bc0b810746b3e0c1 /src/code/z_skelanime.c | |
| parent | 38fc110f9987d967f6a25e75220dbf995ff03600 (diff) | |
Decompile graph.c (#274)
* Decompiled, 1 non-matching, add some bss reordering helpers
* Document stuff
* Review suggestions
* graphutil.c -> graphalloc.c
* Try to fix fault callback warnings
* Remove extra comments in GfxMasterList
* char pad -> u32 pad
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
* Fix gameState
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
* Other suggestions
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
Diffstat (limited to 'src/code/z_skelanime.c')
| -rw-r--r-- | src/code/z_skelanime.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code/z_skelanime.c b/src/code/z_skelanime.c index 4cd9734f6..c8ab534de 100644 --- a/src/code/z_skelanime.c +++ b/src/code/z_skelanime.c @@ -210,7 +210,7 @@ void SkelAnime_DrawFlexLod(GlobalContext* globalCtx, void** skeleton, Vec3s* joi OPEN_DISPS(globalCtx->state.gfxCtx); - gSPSegment(POLY_OPA_DISP++, 0xD, mtx); + gSPSegment(POLY_OPA_DISP++, 0x0D, mtx); Matrix_StatePush(); rootLimb = (LodLimb*)Lib_SegmentedToVirtual(skeleton[0]); @@ -428,7 +428,7 @@ void SkelAnime_DrawFlexOpa(GlobalContext* globalCtx, void** skeleton, Vec3s* joi OPEN_DISPS(globalCtx->state.gfxCtx); - gSPSegment(POLY_OPA_DISP++, 0xD, mtx); + gSPSegment(POLY_OPA_DISP++, 0x0D, mtx); Matrix_StatePush(); @@ -555,7 +555,7 @@ void func_801343C0(GlobalContext* globalCtx, void** skeleton, Vec3s* jointTable, mtx = (Mtx*)GRAPH_ALLOC(globalCtx->state.gfxCtx, ALIGN16(sizeof(Mtx) * dListCount)); - gSPSegment(POLY_OPA_DISP++, 0xD, mtx); + gSPSegment(POLY_OPA_DISP++, 0x0D, mtx); Matrix_StatePush(); @@ -822,7 +822,7 @@ Gfx* SkelAnime_DrawFlex(GlobalContext* globalCtx, void** skeleton, Vec3s* jointT mtx = (Mtx*)GRAPH_ALLOC(globalCtx->state.gfxCtx, ALIGN16(sizeof(Mtx) * dListCount)); - gSPSegment(gfx++, 0xD, mtx); + gSPSegment(gfx++, 0x0D, mtx); Matrix_StatePush(); |
