Update BGI.cpp

This commit is contained in:
恍兮惚兮 2024-07-26 13:55:58 +08:00
parent ed299f7b20
commit 37326b19be

View File

@ -1405,8 +1405,20 @@ bool BGI7Filter(LPVOID data, size_t *size, HookParam *)
return false;
if (endWith(ws, L".arc"))
return false;
if (all_ascii(ws.c_str()) && (ws.find(L"-") != ws.npos) && (ws.find(L"_") != ws.npos))
if (endWith(ws, L".sud"))
return false;
if (all_ascii(ws.c_str()))
{
if ((ws.find(L"-") != ws.npos) && (ws.find(L"_") != ws.npos))
return false;
if (startWith(ws, L"#"))
return false;
if (startWith(ws, L"SG"))
return false;
if (startWith(ws, L"bs5"))
return false;
}
if (ws.find(L"[ 0 ]") != ws.npos)
return false; // 個別アニメーション [ 0 ] の透明度
//