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_effect_soft_sprite_old_init.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_effect_soft_sprite_old_init.c')
| -rw-r--r-- | src/code/z_effect_soft_sprite_old_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_effect_soft_sprite_old_init.c b/src/code/z_effect_soft_sprite_old_init.c index cf27d2251..f293c81c2 100644 --- a/src/code/z_effect_soft_sprite_old_init.c +++ b/src/code/z_effect_soft_sprite_old_init.c @@ -50,7 +50,7 @@ void EffectSs_DrawGEffect(GlobalContext* globalCtx, EffectSs* this, void* textur SkinMatrix_SetScale(&mfScale, scale, scale, scale); SkinMatrix_MtxFMtxFMult(&mfTrans, &globalCtx->mf_187FC, &mfTrans11DA0); SkinMatrix_MtxFMtxFMult(&mfTrans11DA0, &mfScale, &mfResult); - gSegments[6] = PHYSICAL_TO_VIRTUAL(object); + gSegments[0x06] = PHYSICAL_TO_VIRTUAL(object); gSPSegment(POLY_XLU_DISP++, 0x06, object); mtx = SkinMatrix_MtxFToNewMtx(gfxCtx, &mfResult); |
