Skip to content

Commit

Permalink
blista and intruder fix, small change to id check causing lod lights …
Browse files Browse the repository at this point in the history
…flickering, disabled definition fix by default (#121)
  • Loading branch information
Tomasak authored Aug 6, 2023
1 parent bc797d3 commit 1ece629
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/plugins/GTAIV.EFLC.FusionFix.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SkipIntro = 1
SkipMenu = 1
BorderlessWindowed = 1
RecoilFix = 1
DefinitionFix = 1
DefinitionFix = 0 // kept in case user doesn't use shader fixes
EmissiveShaderFix = 1
AimingZoomFix = 1
Expand Down
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion source/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,7 @@ void Init()
if (!pattern.empty()) injector::WriteMemory<uint8_t>(pattern.get_first(8), 0x07, true);
// Removing episode id check that resulted in flickering LOD lights at certain camera angles in TBOGT
pattern = hook::pattern("83 3D ? ? ? ? ? 0F 85 ? ? ? ? F3 0F 10 05 ? ? ? ? F3 0F 10 8C 24");
if (!pattern.empty()) injector::MakeNOP(pattern.get_first(0), 150, true);
if (!pattern.empty()) injector::WriteMemory<uint16_t>(pattern.get_first(7), 0xE990, true); // jnz -> jmp
}
}

Expand Down

0 comments on commit 1ece629

Please sign in to comment.