mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-23 08:54:12 +08:00
small fixes
This commit is contained in:
parent
29367928c3
commit
8f6595e869
@ -54,11 +54,7 @@ private:
|
||||
};
|
||||
|
||||
template <auto F>
|
||||
struct Functor
|
||||
{
|
||||
template <typename... Args>
|
||||
auto operator()(Args&&... args) const { return std::invoke(F, std::forward<Args>(args)...); }
|
||||
};
|
||||
using Functor = std::integral_constant<std::decay_t<decltype(F)>, F>;
|
||||
|
||||
template <typename HandleCloser = Functor<CloseHandle>>
|
||||
class AutoHandle
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user