better tanuki detection

This commit is contained in:
Akash Mozumdar 2019-09-15 12:58:15 -04:00
parent f7f6b18ad2
commit 46c4f163ba

View File

@ -595,6 +595,10 @@ bool DetermineEngineOther()
// Put the patterns that might break other games at last
bool DetermineEngineAtLast()
{
if (Util::CheckFile(L"*.g2")) {
InsertTanukiHook();
return true;
}
if (Util::CheckFile(L"MovieTexture.dll") && (InsertPensilHook() || Insert2RMHook())) // MovieTexture.dll also exists in 2RM games such as 母子愛2体験版, which is checked first
return true;
if ((Util::CheckFile(L"system") && Util::CheckFile(L"system.dat")) || Util::CheckFile(L"*01")) { // jichi 7/31/2015 & Artikash 6/15/2018