Skip to content

Commit 1ece629

Browse files
authored
blista and intruder fix, small change to id check causing lod lights flickering, disabled definition fix by default (#121)
1 parent bc797d3 commit 1ece629

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

data/plugins/GTAIV.EFLC.FusionFix.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ SkipIntro = 1
33
SkipMenu = 1
44
BorderlessWindowed = 1
55
RecoilFix = 1
6-
DefinitionFix = 1
6+
DefinitionFix = 0 // kept in case user doesn't use shader fixes
77
EmissiveShaderFix = 1
88
AimingZoomFix = 1
99
Binary file not shown.
Binary file not shown.

source/dllmain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1360,7 +1360,7 @@ void Init()
13601360
if (!pattern.empty()) injector::WriteMemory<uint8_t>(pattern.get_first(8), 0x07, true);
13611361
// Removing episode id check that resulted in flickering LOD lights at certain camera angles in TBOGT
13621362
pattern = hook::pattern("83 3D ? ? ? ? ? 0F 85 ? ? ? ? F3 0F 10 05 ? ? ? ? F3 0F 10 8C 24");
1363-
if (!pattern.empty()) injector::MakeNOP(pattern.get_first(0), 150, true);
1363+
if (!pattern.empty()) injector::WriteMemory<uint16_t>(pattern.get_first(7), 0xE990, true); // jnz -> jmp
13641364
}
13651365
}
13661366

0 commit comments

Comments
 (0)