diff options
| author | Anghelo Carvajal <angheloalf95@gmail.com> | 2023-03-24 14:38:04 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-24 14:38:04 -0300 |
| commit | 147e4fcedca332070ca15dbc1db358ce2d42972c (patch) | |
| tree | 30577817a17f58de61a3679cb404fa58e922b750 /src/code/z_parameter.c | |
| parent | f3d2c56d1deed7194c77909ee41ed5b8ef3ef8a2 (diff) | |
THA docs (#1177)
* THA docs
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
* format
* namefixer
* yada
* remove zero pad comment
* Update include/z64.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
* Update include/thga.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
* namefixer
* bss
* namefixer
---------
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
Diffstat (limited to 'src/code/z_parameter.c')
| -rw-r--r-- | src/code/z_parameter.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code/z_parameter.c b/src/code/z_parameter.c index ca127a8b6..5f5440a2f 100644 --- a/src/code/z_parameter.c +++ b/src/code/z_parameter.c @@ -6006,16 +6006,16 @@ void Interface_Init(PlayState* play) { interfaceCtx->healthTimer = 200; parameterStaticSize = SEGMENT_ROM_SIZE(parameter_static); - interfaceCtx->parameterSegment = THA_AllocEndAlign16(&play->state.heap, parameterStaticSize); + interfaceCtx->parameterSegment = THA_AllocTailAlign16(&play->state.heap, parameterStaticSize); DmaMgr_SendRequest0(interfaceCtx->parameterSegment, SEGMENT_ROM_START(parameter_static), parameterStaticSize); - interfaceCtx->doActionSegment = THA_AllocEndAlign16(&play->state.heap, 0xC90); + interfaceCtx->doActionSegment = THA_AllocTailAlign16(&play->state.heap, 0xC90); DmaMgr_SendRequest0(interfaceCtx->doActionSegment, SEGMENT_ROM_START(do_action_static), 0x300); DmaMgr_SendRequest0(interfaceCtx->doActionSegment + 0x300, SEGMENT_ROM_START(do_action_static) + 0x480, 0x180); Interface_NewDay(play, CURRENT_DAY); - interfaceCtx->iconItemSegment = THA_AllocEndAlign16(&play->state.heap, 0x4000); + interfaceCtx->iconItemSegment = THA_AllocTailAlign16(&play->state.heap, 0x4000); if (CUR_FORM_EQUIP(EQUIP_SLOT_B) < ITEM_F0) { Interface_LoadItemIconImpl(play, EQUIP_SLOT_B); |
