mirror of
https://github.com/gurrgur/er-patcher.git
synced 2026-06-13 09:47:54 +00:00
Merge pull request #34 from jjgmckenzie/main
Fixes ultrawide for 1.05 with new pattern.
This commit is contained in:
commit
fd1a1a4f99
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue