aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/detection.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-05-09 09:17:30 -0400
committerPaul Gilbert2015-05-09 09:17:30 -0400
commit5d41f0f9aa5d4df586949362fcedec447d1d6094 (patch)
tree2bce5e832ad5f51ce150b1d50badcc67f5dafe06 /engines/sherlock/detection.cpp
parent47bcb5358acddc3ef75f5a4af59ba43f06027490 (diff)
downloadscummvm-rg350-5d41f0f9aa5d4df586949362fcedec447d1d6094.tar.gz
scummvm-rg350-5d41f0f9aa5d4df586949362fcedec447d1d6094.tar.bz2
scummvm-rg350-5d41f0f9aa5d4df586949362fcedec447d1d6094.zip
SHERLOCK: Give the GTYPE constants an explicit enum type
Diffstat (limited to 'engines/sherlock/detection.cpp')
-rw-r--r--engines/sherlock/detection.cpp6
1 files changed, 3 insertions, 3 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;