This commit is contained in:
恍兮惚兮 2024-08-01 15:44:24 +08:00
parent 2df10cdf8e
commit d3a473ac0b
3 changed files with 29 additions and 51 deletions

View File

@ -347,25 +347,14 @@ std::vector<ENGINE *> check_engines()
new Erogos,
new Silkysveryveryold,
new gazelle,
};
}
std::vector<ENGINE *> ignore_engines()
{
return {
// ignore engines
new oldSystem40ini,
new AdvPlayerHD,
new DPM,
new Escude_ignore,
new Chartreux,
};
}
std::vector<ENGINE *> unsafe_check_atlast()
{
//
// Put the patterns that might break other games at last
return {
new UnisonShift,
new Interheart,
new Abalone,
@ -398,5 +387,7 @@ std::vector<ENGINE *> unsafe_check_atlast()
new ShinaRio,
new Suika2,
new KISS,
new EntisGLS};
new EntisGLS,
//
};
}

View File

@ -21,9 +21,6 @@
#include "engine64/rpcs3.h"
#include "engines/lua/lua51.h"
#include "engines/python/Renpy.h"
std::vector<ENGINE *> ignore_engines() { return {}; }
std::vector<ENGINE *> unsafe_check_atlast() { return {}; }
std::vector<ENGINE *> check_engines()
{
return {

View File

@ -5,8 +5,6 @@ WCHAR processName_lower[MAX_PATH];
uintptr_t processStartAddress, processStopAddress;
std::vector<ENGINE *> check_engines();
std::vector<ENGINE *> ignore_engines();
std::vector<ENGINE *> unsafe_check_atlast();
bool ENGINE::check_function()
{
@ -76,19 +74,12 @@ bool checkengine()
{
auto engines = check_engines();
auto engineatlast = unsafe_check_atlast();
auto engineignore = ignore_engines();
std::vector<const char *> infomations = {
"match failed",
"attach failed",
"attach success"};
auto allengines = {engines, engineignore, engineatlast};
int total = [allengines]()
{int _=0;for(auto eng:allengines)_+=eng.size();return _; }();
int current = 0;
for (auto eng : allengines)
{
for (auto m : eng)
for (auto m : engines)
{
current += 1;
@ -117,7 +108,6 @@ bool checkengine()
return true;
}
}
}
return false;
}