Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
momo5502 committed Apr 15, 2024
1 parent 0872733 commit c1d0a35
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/runner/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,12 @@ void patch_t6(const uint32_t pid)

void try_patch_t6()
{
const auto pid = get_process_id_from_window(nullptr, "Call of Duty" "\xAE" ": Black Ops II - Multiplayer");
auto pid = get_process_id_from_window(nullptr, "Call of Duty" "\xAE" ": Black Ops II - Multiplayer");
if (!pid)
{
pid = get_process_id_from_window("CoDBlackOps", nullptr);
}

if (pid)
{
printf("Patching T6...\n");
Expand Down

0 comments on commit c1d0a35

Please sign in to comment.