LASTEXPRESS: Reduce header dependencies
This commit is contained in:
parent
a0cba0a760
commit
8878be7b11
3 changed files with 10 additions and 2 deletions
|
@ -21,6 +21,7 @@
|
|||
*/
|
||||
|
||||
#include "lastexpress/lastexpress.h"
|
||||
#include "engines/advancedDetector.h"
|
||||
|
||||
namespace LastExpress {
|
||||
|
||||
|
@ -202,6 +203,10 @@ bool LastExpressMetaEngine::createInstance(OSystem *syst, Engine **engine, const
|
|||
return gd != 0;
|
||||
}
|
||||
|
||||
bool LastExpressEngine::isDemo() const {
|
||||
return (bool)(_gameDescription->flags & ADGF_DEMO);
|
||||
}
|
||||
|
||||
} // End of namespace LastExpress
|
||||
|
||||
#if PLUGIN_ENABLED_DYNAMIC(LASTEXPRESS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue