From e2f0ab53cfe6e564880bc9252c9815d5e434d204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Pedro=20Rodrigues=20Prates=20Braz?= Date: Thu, 21 Apr 2022 00:56:17 -0300 Subject: [PATCH] Feat: Updated Ultrawide fix to version 1.04 --- er-patcher | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/er-patcher b/er-patcher index 8e500c6..e0b8042 100755 --- a/er-patcher +++ b/er-patcher @@ -50,9 +50,9 @@ if __name__ == "__main__": print("er-patcher: fix_camera pattern scan failed") if patch.ultrawide or patch.all: - uw_pattern = "8b 01 85 c0 74 42 44 8b 59 04".replace(" ", "") + uw_pattern = "74 50 .. 8b .. .. dc 03 00 00 .. 85 .. 74 .. .. 8b .. .. 0f af".replace(" ", "") if (res := re.search(uw_pattern, exe_hex)) is not None: - uw_addr = res.span()[0] + 8 + uw_addr = res.span()[0] uw_patch = "eb" exe_hex = exe_hex[:uw_addr] + uw_patch + exe_hex[uw_addr + len(uw_patch):] else: