diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-08-11 23:26:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-11 23:26:09 -0400 |
commit | 5735609629b3bee1fab33c77ab66225200c1c434 (patch) | |
tree | 63f0e964001625e9430186c9a1b819e2ce62e2b5 /src | |
parent | 2b412ac7e3b67b3798638b784e874f450e6d2f7e (diff) | |
parent | 7e593d37bb59d3fc015af441a1b3669fc494de84 (diff) |
Merge pull request #1124 from PokeCodec/smaller-array
sp stack should be 2 elements deep, not 4
Diffstat (limited to 'src')
-rwxr-xr-x | src/berry_crush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/berry_crush.c b/src/berry_crush.c index cf4c99f5a..ff544a01d 100755 --- a/src/berry_crush.c +++ b/src/berry_crush.c @@ -3271,7 +3271,7 @@ static void BerryCrush_SetPaletteFadeParams(u8 *params, bool8 communicateAfter, void sub_8024644(u8 *r0, u32 r1, u32 r2, u32 r3, u32 r5) { - u8 sp[4]; + u8 sp[2]; 0[(u16 *)sp] = r3; r0[0] = r1; |