From e519d5aadd22a18ab7e1de7418e270df3f85dde5 Mon Sep 17 00:00:00 2001 From: fadillzzz Date: Sun, 18 Feb 2024 05:23:25 +0000 Subject: [PATCH] fix(charm): Fixes charm table loading causes an exception (#5) --- 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