mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-17 23:44:22 +00:00
HDB: Add isDemo()
This commit is contained in:
parent
f5a695191b
commit
159e50c82f
@ -38,6 +38,13 @@ uint32 HDBGame::getGameFlags() const {
|
||||
return _gameDescription->flags;
|
||||
}
|
||||
|
||||
int HDBGame::isDemo() const {
|
||||
if (getGameFlags() & ADGF_DEMO) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
} // End of namespace HDB
|
||||
|
||||
static const PlainGameDescriptor hdbGames[] = {
|
||||
|
@ -92,6 +92,7 @@ public:
|
||||
const char *getGameFile() const;
|
||||
uint32 getGameFlags() const;
|
||||
Common::Platform getPlatform() const;
|
||||
int isDemo() const;
|
||||
|
||||
/*
|
||||
Game System Pointers
|
||||
|
Loading…
x
Reference in New Issue
Block a user