aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sherlock/detection.cpp6
-rw-r--r--engines/sherlock/sherlock.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/sherlock/detection.cpp b/engines/sherlock/detection.cpp
index dd02bd7694..82ac5a4c3d 100644
--- a/engines/sherlock/detection.cpp
+++ b/engines/sherlock/detection.cpp
@@ -32,18 +32,18 @@ namespace Sherlock {
struct SherlockGameDescription {
ADGameDescription desc;
- int gameID;
+ GameType gameID;
};
/**
* Returns the Id of the game
*/
-uint32 SherlockEngine::getGameID() const {
+GameType SherlockEngine::getGameID() const {
return _gameDescription->gameID;
}
/**
- * Return's the platform the game's datafiles are for
+ * Returns the platform the game's datafiles are for
*/
Common::Platform SherlockEngine::getPlatform() const {
return _gameDescription->desc.platform;
diff --git a/engines/sherlock/sherlock.h b/engines/sherlock/sherlock.h
index 79a3c11135..a516e52ae7 100644
--- a/engines/sherlock/sherlock.h
+++ b/engines/sherlock/sherlock.h
@@ -57,7 +57,7 @@ enum {
kDebugScript = 1 << 0
};
-enum {
+enum GameType {
GType_SerratedScalpel = 0,
GType_RoseTattoo = 1
};
@@ -121,7 +121,7 @@ public:
virtual void syncSoundSettings();
int getGameType() const;
- uint32 getGameID() const;
+ GameType getGameID() const;
Common::Language getLanguage() const;
Common::Platform getPlatform() const;