From 9fa6aded73000e6d6efbec906dd52596c0016e63 Mon Sep 17 00:00:00 2001 From: m Date: Thu, 2 Sep 2021 06:47:05 -0500 Subject: [PATCH] allow kbam + gamepad use at once --- src/component/patches.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/component/patches.cpp b/src/component/patches.cpp index f23706cc..3f4ee378 100644 --- a/src/component/patches.cpp +++ b/src/component/patches.cpp @@ -34,6 +34,10 @@ namespace patches // Disable battle net popup utils::hook::set(game::base_address + 0xBE7F83C, true); + // Allow kbam input when gamepad is enabled + utils::hook::nop(game::base_address + 0x3D2F8E, 2); + utils::hook::nop(game::base_address + 0x3D0C9C, 6); + scheduler::once([]() { if (game::Menu_IsMenuOpenAndVisible(0, "bnet_error_popup"))