Skip to content

Commit

Permalink
Merge pull request #34 from jjgmckenzie/main
Browse files Browse the repository at this point in the history
Fixes ultrawide for 1.05 with new pattern.
  • Loading branch information
gurrgur authored Jun 16, 2022
2 parents 54f5c17 + c3ee974 commit fd1a1a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion er-patcher
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if __name__ == "__main__":
print("er-patcher: fix_camera pattern scan failed")

if patch.ultrawide or patch.all:
uw_pattern = "74 50 .. 8b .. .. dc 03 00 00 .. 85 .. 74 .. .. 8b .. .. 0f af".replace(" ", "")
uw_pattern = "74 4f 45 8b 94 cc".replace(" ", "")
if (res := re.search(uw_pattern, exe_hex)) is not None:
uw_addr = res.span()[0]
uw_patch = "eb"
Expand Down

0 comments on commit fd1a1a4

Please sign in to comment.