From c1d0a354c2f56d297a075e7bd9982a359819c9ad Mon Sep 17 00:00:00 2001 From: momo5502 Date: Mon, 15 Apr 2024 20:39:25 +0200 Subject: [PATCH] Fixes --- src/runner/main.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/runner/main.cpp b/src/runner/main.cpp index 26444f7..ec3f711 100644 --- a/src/runner/main.cpp +++ b/src/runner/main.cpp @@ -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");