HPL1: Simplify check for support of extended save files

This commit is contained in:
Eugene Sandulenko 2023-09-10 14:15:49 +02:00
parent 2c05c5bdfa
commit da98116a44
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -41,12 +41,7 @@ Common::Error Hpl1MetaEngine::createInstance(OSystem *syst, Engine **engine, con
}
bool Hpl1MetaEngine::hasFeature(MetaEngineFeature f) const {
return (f == kSavesUseExtendedFormat) ||
(f == kSimpleSavesNames) ||
(f == kSupportsListSaves) ||
(f == kSupportsDeleteSave) ||
(f == kSavesSupportMetaInfo) ||
(f == kSavesSupportThumbnail) ||
return checkExtendedSaves(f) ||
(f == kSupportsLoadingDuringStartup);
}