mirror of
https://github.com/gurrgur/er-patcher.git
synced 2026-06-13 09:47:54 +00:00
Fixes ultrawide for 1.05 with new pattern.
This commit is contained in:
parent
54f5c17ca5
commit
c3ee974b54
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ if __name__ == "__main__":
|
||||||
print("er-patcher: fix_camera pattern scan failed")
|
print("er-patcher: fix_camera pattern scan failed")
|
||||||
|
|
||||||
if patch.ultrawide or patch.all:
|
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:
|
if (res := re.search(uw_pattern, exe_hex)) is not None:
|
||||||
uw_addr = res.span()[0]
|
uw_addr = res.span()[0]
|
||||||
uw_patch = "eb"
|
uw_patch = "eb"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue