From 44fbb56d8330287721f0d917ee219da4a9121a40 Mon Sep 17 00:00:00 2001 From: Lightczx <1686188646@qq.com> Date: Wed, 20 Dec 2023 13:07:06 +0800 Subject: [PATCH] minor code style --- .../Snap.Hutao/Service/Game/Unlocker/GameFpsUnlocker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/GameFpsUnlocker.cs b/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/GameFpsUnlocker.cs index 17cb0856..cd6ea8c6 100644 --- a/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/GameFpsUnlocker.cs +++ b/src/Snap.Hutao/Snap.Hutao/Service/Game/Unlocker/GameFpsUnlocker.cs @@ -228,7 +228,7 @@ internal sealed class GameFpsUnlocker : IGameFpsUnlocker nuint rip = localMemoryUserAssemblyAddress + (uint)offset; rip += 5U; - rip += (nuint)(*(int*)(rip + 2)) + 6U; + rip += (nuint)(*(int*)(rip + 2) + 6); nuint address = userAssembly.Address + (rip - localMemoryUserAssemblyAddress);