diff options
| author | Emil Lenngren <emil.lenngren@gmail.com> | 2022-04-26 00:24:21 +0200 |
|---|---|---|
| committer | louist103 <35883445+louist103@users.noreply.github.com> | 2022-04-25 19:21:00 -0400 |
| commit | 4869eea9686d3f28f79d8af67fb09efd16e34c22 (patch) | |
| tree | 2d56aed1dc97076641d26f9c2d21f5bee6bae185 /soh/src/code/z_construct.c | |
| parent | 6991549cde13791a094cecd383ba38baf80d3719 (diff) | |
Fix random crash in z_construct
Diffstat (limited to 'soh/src/code/z_construct.c')
| -rw-r--r-- | soh/src/code/z_construct.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/soh/src/code/z_construct.c b/soh/src/code/z_construct.c index 5149fd974..c74d3c14c 100644 --- a/soh/src/code/z_construct.c +++ b/soh/src/code/z_construct.c @@ -56,7 +56,8 @@ void func_801109B0(GlobalContext* globalCtx) { doActionOffset = 0x5700; } - memcpy(interfaceCtx->doActionSegment, ResourceMgr_LoadTexByName(gAttackDoActionENGTex), 0x300); + memcpy(interfaceCtx->doActionSegment, ResourceMgr_LoadTexByName(gAttackDoActionENGTex), 0x180); + memcpy(interfaceCtx->doActionSegment + 0x180, ResourceMgr_LoadTexByName(gCheckDoActionENGTex), 0x180); //DmaMgr_SendRequest1(interfaceCtx->doActionSegment, (uintptr_t)_do_action_staticSegmentRomStart + doActionOffset, 0x300, //"../z_construct.c", 174); |
