mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 22:58:09 +00:00
GNAP: Fix hasFeature
This commit is contained in:
parent
558ab62fd7
commit
03027be392
@ -78,14 +78,21 @@ bool GnapMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsListSaves) ||
|
||||
(f == kSupportsLoadingDuringStartup) ||
|
||||
(f == kSupportsDeleteSave);
|
||||
(f == kSupportsDeleteSave) ||
|
||||
(f == kSavesSupportMetaInfo) ||
|
||||
(f == kSavesSupportCreationDate);
|
||||
#if 0
|
||||
(f == kSavesSupportMetaInfo) ||
|
||||
(f == kSavesSupportThumbnail) ||
|
||||
(f == kSavesSupportCreationDate);
|
||||
(f == kSavesSupportThumbnail) ||
|
||||
#endif
|
||||
}
|
||||
|
||||
bool Gnap::GnapEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsRTL) ||
|
||||
(f == kSupportsLoadingDuringRuntime) ||
|
||||
(f == kSupportsSavingDuringRuntime);
|
||||
}
|
||||
|
||||
void GnapMetaEngine::removeSaveState(const char *target, int slot) const {
|
||||
Common::String fileName = Common::String::format("%s.%03d", target, slot);
|
||||
g_system->getSavefileManager()->removeSavefile(fileName);
|
||||
|
@ -221,11 +221,6 @@ Common::Error GnapEngine::run() {
|
||||
return Common::kNoError;
|
||||
}
|
||||
|
||||
bool GnapEngine::hasFeature(EngineFeature f) const {
|
||||
return
|
||||
false;
|
||||
}
|
||||
|
||||
void GnapEngine::updateEvents() {
|
||||
Common::Event event;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user