From 97d221df5204f977f28acad4e86e6fe6be14f9d4 Mon Sep 17 00:00:00 2001 From: xTaiwanPingLord Date: Mon, 30 Jan 2023 00:00:17 +0800 Subject: [PATCH] Fix some old stuff --- source/DebuggerBypass.cpp | 2 +- source/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/DebuggerBypass.cpp b/source/DebuggerBypass.cpp index 08fbe87..4cd72d3 100644 --- a/source/DebuggerBypass.cpp +++ b/source/DebuggerBypass.cpp @@ -131,7 +131,7 @@ static bool IsThreadHidden(DWORD threadID) if (hThread == NULL) { - LOG("\033[%41mError:\033[m {}", GetLastErrorAsString()); + LOG("Error: {}", GetLastErrorAsString()); return false; } diff --git a/source/main.cpp b/source/main.cpp index 2be178e..1932a03 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -24,7 +24,7 @@ void RunMain(HMODULE *phModule) DebuggerBypassPost(); - LOG("[INFO] Debug bypass complete."); + LOG("Debug bypass complete."); // 这里不加大括号编译过不了 🖕Fuck C++🖕 🖕Fuck Microsoft🖕 // ^~~ Alukym#0615 是傻逼,不知道LOG展開會有分號,導致一個if出現兩個分號,而且要罵也是罵MSVC不是C++(?);寫LOG Macro的也是傻逼,不要亂加分號 :(