From 38fc70d7c89d8c5d951866dfe15870aed5465e3d Mon Sep 17 00:00:00 2001 From: Kemal Fadillah Date: Sat, 17 Feb 2024 21:06:17 -0800 Subject: [PATCH] fix(charm): Fixes charm table loading causes an exception --- source/ChangeTableSeed/ChangeSeedCaller.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ChangeTableSeed/ChangeSeedCaller.s b/source/ChangeTableSeed/ChangeSeedCaller.s index ea1bb58..da12bb6 100644 --- a/source/ChangeTableSeed/ChangeSeedCaller.s +++ b/source/ChangeTableSeed/ChangeSeedCaller.s @@ -4,9 +4,9 @@ .global ChangeSeedCaller ChangeSeedCaller: - push {r0, r14} + push {r0, r3, r14} mov r0, r2 bl ChangeSeed ldrh r2, [r2] // Original code - pop {r0, r14} + pop {r0, r3, r14} bx lr