Skip to content

Commit

Permalink
Allow hooking same interface address
Browse files Browse the repository at this point in the history
  • Loading branch information
acidicoala committed Mar 13, 2023
1 parent a54279e commit 167701a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion KoalaBox
3 changes: 1 addition & 2 deletions src/steam_impl/steam_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ namespace steam_impl {
static Set<void*> hooked_interfaces;

if (hooked_interfaces.contains(interface)) {
// This interface is already hooked. Skipping it.
return;
LOG_DEBUG("Interface {} at {} has already been hooked.", version_string, interface)
}

static Mutex section;
Expand Down

0 comments on commit 167701a

Please sign in to comment.