Skip to content

Commit

Permalink
Fix case where UE5 detection could fail
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Oct 26, 2023
1 parent 3cc8d96 commit 5a4ea71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mods/vr/FFakeStereoRenderingHook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ bool is_using_double_precision(uintptr_t addr) {

bool result = false;

utility::exhaustive_decode((uint8_t*)addr, 30, [&](INSTRUX& ix, uintptr_t ip) -> utility::ExhaustionResult {
utility::exhaustive_decode((uint8_t*)addr, 50, [&](INSTRUX& ix, uintptr_t ip) -> utility::ExhaustionResult {
if (std::string_view{ix.Mnemonic}.starts_with("CALL")) {
return utility::ExhaustionResult::STEP_OVER;
}
Expand Down

0 comments on commit 5a4ea71

Please sign in to comment.