Skip to content

Commit

Permalink
disable config-less patcher for now
Browse files Browse the repository at this point in the history
  • Loading branch information
moonshadow565 committed Jul 21, 2023
1 parent 706b8cd commit de86ce0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cslol-tools/lib/lol/patcher/patcher_win32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ auto patcher::run(std::function<void(Message, char const*)> update,
auto checksum = ctx.scan_file(process, game_path);

// fallback for config based patcher if it ever becomes necessary
ctx.kernel32.ptr_CreateFileA_iat = {};
if (!ctx.kernel32.ptr_CreateFileA_iat.storage) [[unlikely]] {
if (!ctx.config.check() || ctx.config.get<"checksum">() != checksum) {
process.WaitInitialized((std::uint32_t)-1);
Expand Down

0 comments on commit de86ce0

Please sign in to comment.