We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b7db9f commit f48216fCopy full SHA for f48216f
src/main.cpp
@@ -45,9 +45,14 @@ void OnInitializeHook() {
45
try {
46
using namespace WidescreenFix;
47
48
- auto resPattern = pattern ("48 8B 05 ? ? ? ? 89 41 18"); // 0x1415AF1DC
49
- ReadOffsetValue(resPattern.get_first(3), pWidth);
+ auto resPattern = pattern ("C7 41 68 00 00 48 8B 05"); // 0x1415AF1DC
+ ReadOffsetValue(resPattern.get_first(8), pWidth);
50
pHeight = pWidth + 1;
51
+ }
52
+ TXN_CATCH();
53
+
54
+ try {
55
+ using namespace WidescreenFix;
56
57
auto cameraPattern = pattern ("F3 0F 11 47 18 8B 83 00 02 00 00"); // 0x141E6C84F
58
0 commit comments