Add precious informations on specific game FOV
This commit is contained in:
@@ -421,7 +421,8 @@ static void FOVFixEnabled() {
|
||||
if (g_fix_enabled && g_fov_fix_enabled && FOVaddress) {
|
||||
if (!FOVHook) { // Hook only once
|
||||
FOVHook = safetyhook::create_mid(FOVaddress,
|
||||
[](SafetyHookContext& ctx) {
|
||||
[](SafetyHookContext& ctx) { // SDK based FOV -> AdvancedThirdPersonCamera.ATPCFOVSettings:CameraFOV
|
||||
// ATPC.CameraMode.FOVSettings.CameraFOV
|
||||
g_FOV_In = ctx.xmm6.f32[0];
|
||||
ctx.xmm6.f32[0] += (g_fix_enabled && g_fov_fix_enabled ? g_AdditionalFOVValue : g_FOV_In);
|
||||
g_FOV_Out = ctx.xmm6.f32[0];
|
||||
|
||||
Reference in New Issue
Block a user