From 3e345990abc44d0954f2d798b9d2879ffa74cf49 Mon Sep 17 00:00:00 2001 From: KionX <> Date: Sun, 6 Nov 2022 23:02:38 +0500 Subject: [PATCH] Undo console log --- README.md | 3 --- hooks/ConsoleLog.cpp | 7 ------- section/ConsoleLog.cpp | 10 ---------- 3 files changed, 20 deletions(-) delete mode 100644 hooks/ConsoleLog.cpp delete mode 100644 section/ConsoleLog.cpp diff --git a/README.md b/README.md index b577815..b6d4264 100644 --- a/README.md +++ b/README.md @@ -89,9 +89,6 @@ This are just the patch files for this game. I decided to separate them from pat - Adds SetInvertMidMouseButton to UI - section/InvertMidMouseButton.cpp - section/LuaFuncRegs.cpp -- Writes called console commands to the log - - hooks/ConsoleLog.cpp - - section/ConsoleLog.cpp - Unlock an "Ultra" graphics preset - hooks/UnlockUltraPreset.cpp - Adds SetCommandSource to Sim. Allow armies to be shared by multiple players diff --git a/hooks/ConsoleLog.cpp b/hooks/ConsoleLog.cpp deleted file mode 100644 index 97b7fad..0000000 --- a/hooks/ConsoleLog.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include "../define.h" -asm( - ".section h0; .set h0,0x41CE0A;" - "JMP "QU(ConsoleLog)";" - "NOP;" - "NOP;" -); \ No newline at end of file diff --git a/section/ConsoleLog.cpp b/section/ConsoleLog.cpp deleted file mode 100644 index 78b6a6a..0000000 --- a/section/ConsoleLog.cpp +++ /dev/null @@ -1,10 +0,0 @@ -void ConsoleLog() -{ - asm( - "MOV DWORD PTR SS:[EBP-4],2;" - "PUSH [ESP+0xF4];" - "CALL 0x00937CB0;" - "ADD ESP,4;" - "JMP 0x0041CE11;" - ); -} \ No newline at end of file