Skip to content

Commit a3f1c5f

Browse files
committed
fix pattern usage
1 parent f50f680 commit a3f1c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/frameratevigilante.ixx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ public:
5252
}
5353

5454
pattern = hook::pattern("F3 0F 10 05 ? ? ? ? F3 0F 58 C1 F3 0F 11 05 ? ? ? ? EB 36");
55-
static auto f1032790 = *pattern.get_first<float*>(4);
5655
if (!pattern.empty())
5756
{
57+
static auto f1032790 = *pattern.get_first<float*>(4);
5858
struct LoadingTextSpeed
5959
{
6060
void operator()(SafetyHookContext& regs)

0 commit comments

Comments
 (0)