From 5534c05f75b4f60fd686f7411f6dfd52a3e06e63 Mon Sep 17 00:00:00 2001 From: intra0 Date: Sun, 22 Dec 2024 14:46:20 -0600 Subject: [PATCH] readability improvement r30 will always equal r11 after calling CallsprintfINImod so r11 shouldn't leave that function --- src/XenobladeChroniclesX/Enhancements/libini/patch_ini.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/XenobladeChroniclesX/Enhancements/libini/patch_ini.asm b/src/XenobladeChroniclesX/Enhancements/libini/patch_ini.asm index 310cb63d..32271696 100644 --- a/src/XenobladeChroniclesX/Enhancements/libini/patch_ini.asm +++ b/src/XenobladeChroniclesX/Enhancements/libini/patch_ini.asm @@ -415,11 +415,11 @@ lis r19, 0x202C ori r19, r19, 0x2000 lbzu r3, 1(r21) bl CallsprintfINImod -stw r19, 0(r11) +stw r19, 0(r30) addi r30, r30, 3 lbz r3, 0(r21) bl CallsprintfINImod -stw r19, 0(r11) +stw r19, 0(r30) addi r30, r30, 3 lbz r3, 0(r21) bl CallsprintfINImod