aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/detection.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2006-12-19 03:52:04 +0000
committerEugene Sandulenko2006-12-19 03:52:04 +0000
commit18ce3810609ada7d1aded6a6ba551991bc556ba6 (patch)
tree47c8aebeed680ff2a1c29f9bc66369d4ce2c9adb /engines/cine/detection.cpp
parentbdf98587c8b6a6ee773680cecb8a63219dcea7c6 (diff)
downloadscummvm-rg350-18ce3810609ada7d1aded6a6ba551991bc556ba6.tar.gz
scummvm-rg350-18ce3810609ada7d1aded6a6ba551991bc556ba6.tar.bz2
scummvm-rg350-18ce3810609ada7d1aded6a6ba551991bc556ba6.zip
Got rid of ARRAYSIZE in advanceDetector calls
svn-id: r24881
Diffstat (limited to 'engines/cine/detection.cpp')
-rw-r--r--engines/cine/detection.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/cine/detection.cpp b/engines/cine/detection.cpp
index 828c7d3462..4cedd4841b 100644
--- a/engines/cine/detection.cpp
+++ b/engines/cine/detection.cpp
@@ -569,13 +569,13 @@ static const CINEGameDescription gameDescriptions[] = {
0,
},
+ { { NULL, NULL, 0, NULL, Common::UNK_LANG, Common::kPlatformUnknown }, 0, 0 }
};
bool CineEngine::initGame() {
int i = Common::real_ADVANCED_DETECTOR_DETECT_INIT_GAME(
(const byte *)gameDescriptions,
sizeof(CINEGameDescription),
- ARRAYSIZE(gameDescriptions),
FILE_MD5_BYTES,
cineGames
);
@@ -588,7 +588,6 @@ DetectedGameList GAME_detectGames(const FSList &fslist) {
fslist,
(const byte *)gameDescriptions,
sizeof(CINEGameDescription),
- ARRAYSIZE(gameDescriptions),
FILE_MD5_BYTES,
cineGames
);