small fixes
This commit is contained in:
parent
29367928c3
commit
8f6595e869
@ -54,11 +54,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
template <auto F>
|
template <auto F>
|
||||||
struct Functor
|
using Functor = std::integral_constant<std::decay_t<decltype(F)>, F>;
|
||||||
{
|
|
||||||
template <typename... Args>
|
|
||||||
auto operator()(Args&&... args) const { return std::invoke(F, std::forward<Args>(args)...); }
|
|
||||||
};
|
|
||||||
|
|
||||||
template <typename HandleCloser = Functor<CloseHandle>>
|
template <typename HandleCloser = Functor<CloseHandle>>
|
||||||
class AutoHandle
|
class AutoHandle
|
||||||
|
@ -75,8 +75,6 @@ bool DeterminePCEngine()
|
|||||||
// PC games
|
// PC games
|
||||||
PcHooks::hookGDIFunctions();
|
PcHooks::hookGDIFunctions();
|
||||||
PcHooks::hookGDIPlusFunctions();
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user