ASYLUM: Fix for Correct MetaEngine Feature API

This was previously showing the Launcher Load button as active, but
with no saves present as most of the API was not implemented.

This corrects that so that the various Advanced Engine / MetaEngine
APIs for loading / saving from launcher and command line may be
implemented in future.
This commit is contained in:
D G Turner 2021-05-19 22:46:45 +01:00
parent 0b89bc6438
commit d84d002212
2 changed files with 9 additions and 4 deletions

View file

@ -138,6 +138,10 @@ AsylumEngine::~AsylumEngine() {
_gameDescription = NULL;
}
bool AsylumEngine::hasFeature(EngineFeature f) const {
return (f == kSupportsReturnToLauncher);
}
Common::Error AsylumEngine::run() {
// Initialize the graphics
initGraphics(640, 480);