mirror of https://github.com/PrimeDecomp/prime.git
parent
76e0804ecb
commit
15f13178f8
|
@ -93,7 +93,8 @@ while idx < len(profile_bytes) - 16:
|
||||||
LMW = 0xB8 >> 2
|
LMW = 0xB8 >> 2
|
||||||
FDIVS = 0xEC >> 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 \
|
opcode_b in [LI, LFS, FDIVS] and \
|
||||||
vanilla_inst_a == profile_inst_b and \
|
vanilla_inst_a == profile_inst_b and \
|
||||||
vanilla_inst_b == profile_inst_a and \
|
vanilla_inst_b == profile_inst_a and \
|
||||||
|
|
Loading…
Reference in New Issue