diff --git a/include/common.h b/include/common.h index 4c4d694..a9b5daf 100644 --- a/include/common.h +++ b/include/common.h @@ -54,11 +54,7 @@ private: }; template -struct Functor -{ - template - auto operator()(Args&&... args) const { return std::invoke(F, std::forward(args)...); } -}; +using Functor = std::integral_constant, F>; template > class AutoHandle diff --git a/texthook/engine/match32.cc b/texthook/engine/match32.cc index 08a0e62..59fe3a0 100644 --- a/texthook/engine/match32.cc +++ b/texthook/engine/match32.cc @@ -75,8 +75,6 @@ bool DeterminePCEngine() // PC games PcHooks::hookGDIFunctions(); PcHooks::hookGDIPlusFunctions(); - const char check[] = "sdffffffkjldfjlhjweiumxnvq1204tergdmnxcq1111111111111111111111408t03kxjb40"; - Util::SearchMemory((const BYTE*)check, sizeof(check)); // Not too sure about the stability of this guy, so test it here return false; }