From e95f2796ddb2890566644deda66ed3f28a0a244a Mon Sep 17 00:00:00 2001 From: Silent Date: Wed, 20 Aug 2014 23:42:49 +0200 Subject: [PATCH] Proper aspect ratios for Steam version --- SAFix/SilentPatchSA.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/SAFix/SilentPatchSA.cpp b/SAFix/SilentPatchSA.cpp index 40330d5..4cd7426 100644 --- a/SAFix/SilentPatchSA.cpp +++ b/SAFix/SilentPatchSA.cpp @@ -1839,6 +1839,16 @@ __forceinline void Patch_SA_Steam() bool* bEnableMouseSteering = *(bool**)0x6DB76D; // CVehicle::m_bEnableMouseSteering Patch(0x6E3199, bEnableMouseSteering); Patch(0x7046AB, bEnableMouseSteering); + + + + // STEAM ONLY + // Proper aspect ratios - why Rockstar, why? + // Steam aspect ratios were additionally divided by 1.1, producing a squashed image + static const float f43 = 4.0f/3.0f, f54 = 5.0f/4.0f, f169 = 16.0f/9.0f; + Patch(0x73822B, &f169); + Patch(0x738247, &f54); + Patch(0x73825A, &f43); }