SH2 - fixed placement of screen position overlay
A black overlay used for the "Screen Position" option was out of place. It was fixed by restoring the original width value.
@@ -105,6 +105,8 @@ void Init()
injector::WriteMemory(pattern.count(1).get(0).get<uint32_t>(2), &Screen.Width43, true);
pattern = hook::pattern("8B 0D ? ? ? ? D1 E9 85 C9 89 4C 24 10 DB 44 24 10"); //004DC103 toluca lake light (i == 330)
injector::WriteMemory(pattern.count(1).get(0).get<uint32_t>(2), &Screen.Width, true);
+ pattern = hook::pattern("8B 0D ? ? ? ? 51 6A 00 03 D1 52 33 C0"); //00478B74 "screen position" overlay
+ injector::WriteMemory(pattern.count(1).get(0).get<uint32_t>(2), &Screen.Width, true);
pattern = hook::pattern("A3 ? ? ? ? 89 44 24 14 A1 ? ? ? ? 8D 4C 24 0C 51");
struct SetScaleHook
