Skip to content

Commit 563f316

Browse files
committed
Up
1 parent b74c5a4 commit 563f316

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mods/IntegrityCheckBypass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -912,6 +912,7 @@ void IntegrityCheckBypass::restore_unencrypted_paks() {
912912

913913
spdlog::info("[IntegrityCheckBypass]: Created sha3_rsa_code_midhook!");
914914

915+
#if defined(MHWILDS) || defined(MHSTORIES3)
915916
const auto pak_load_check_start = utility::scan(game, "41 57 41 56 41 55 41 54 56 57 55 53 48 81 EC ? ? ? ? 48 89 CE 48 8B 05 ? ? ? ? 48 31 E0 48 89 84 24 ? ? ? ? 48 8B 81 ? ? ? ? 48 C1 E8 10");
916917

917918
if (pak_load_check_start) {
@@ -936,6 +937,7 @@ void IntegrityCheckBypass::restore_unencrypted_paks() {
936937
spdlog::error("[IntegrityCheckBypass]: Could not determine patch_version_reg_index! Default to RAX");
937938
}
938939
}
940+
#endif
939941

940942
auto previous_instructions = utility::get_disassembly_behind(*s_sha3_code_end);
941943
auto previous_instructions_start = utility::get_disassembly_behind(*sha3_code_start);

0 commit comments

Comments
 (0)