aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/sword2.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword2/sword2.h')
-rw-r--r--engines/sword2/sword2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sword2/sword2.h b/engines/sword2/sword2.h
index db1c075951..e262a35f09 100644
--- a/engines/sword2/sword2.h
+++ b/engines/sword2/sword2.h
@@ -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