Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SandeMC committed Nov 8, 2024
2 parents ad7f22b + fd24a48 commit b8e0b75
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion shaders/GTAIV.EFLC.FusionShaders
12 changes: 8 additions & 4 deletions source/frameratevigilante.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,16 @@ public:
{
pattern = hook::pattern("F3 0F 58 0D ? ? ? ? 0F 5B C0 F3 0F 11 0D");
struct LoadingTextSparks
if (!pattern.empty())
{
void operator()(injector::reg_pack& regs)
struct LoadingTextSparks
{
regs.xmm0.f32[0] += 0.085f * *CTimer::fTimeStep;
}
}; injector::MakeInline<LoadingTextSparks>(pattern.get_first(0), pattern.get_first(8));
void operator()(injector::reg_pack& regs)
{
regs.xmm0.f32[0] += 0.085f * *CTimer::fTimeStep;
}
}; injector::MakeInline<LoadingTextSparks>(pattern.get_first(0), pattern.get_first(8));
}
}
};
}
Expand Down

0 comments on commit b8e0b75

Please sign in to comment.