From 15f13178f8cb72906b3459bf1ad3d6ffa5e5b071 Mon Sep 17 00:00:00 2001 From: EpochFlame <82550703+EpochFlame@users.noreply.github.com> Date: Sat, 4 Feb 2023 02:04:04 -0500 Subject: [PATCH] frank.py update should help with sdk stuff --- tools/frank.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/frank.py b/tools/frank.py index 442a3576..489c8ec0 100644 --- a/tools/frank.py +++ b/tools/frank.py @@ -93,7 +93,8 @@ while idx < len(profile_bytes) - 16: LMW = 0xB8 >> 2 FDIVS = 0xEC >> 2 - if opcode_a == LWZ and \ + # Adjust LWZ and LMW loading from r1. + if opcode_a in [LWZ, LMW] and vanilla_inst_a[2] == 0x00 and \ opcode_b in [LI, LFS, FDIVS] and \ vanilla_inst_a == profile_inst_b and \ vanilla_inst_b == profile_inst_a and \