sword2: added detection for Broken Sword 2 PSX, and a check to say wether pc or psx version is run
svn-id: r39417
This commit is contained in:
parent
647276b885
commit
1f299bb24a
2 changed files with 15 additions and 0 deletions
|
@ -122,6 +122,9 @@ private:
|
|||
|
||||
StartUp _startList[MAX_starts];
|
||||
|
||||
// Original game platform (PC/PSX)
|
||||
static Common::Platform _platform;
|
||||
|
||||
protected:
|
||||
// Engine APIs
|
||||
virtual Common::Error run();
|
||||
|
@ -233,6 +236,9 @@ public:
|
|||
// Convenience alias for OSystem::getMillis().
|
||||
// This is a bit hackish, of course :-).
|
||||
uint32 getMillis();
|
||||
|
||||
//Used to check wether we are running PSX version
|
||||
static bool isPsx() { return _platform == Common::kPlatformPSX; }
|
||||
};
|
||||
|
||||
} // End of namespace Sword2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue