aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
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/saga
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/saga')
-rw-r--r--engines/saga/game.cpp2
-rw-r--r--engines/saga/sagagame.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/engines/saga/game.cpp b/engines/saga/game.cpp
index cda47d956c..5e180d595f 100644
--- a/engines/saga/game.cpp
+++ b/engines/saga/game.cpp
@@ -75,7 +75,6 @@ bool SagaEngine::initGame() {
int i = Common::real_ADVANCED_DETECTOR_DETECT_INIT_GAME(
(const byte *)gameDescriptions,
sizeof(SAGAGameDescription),
- ARRAYSIZE(gameDescriptions),
FILE_MD5_BYTES,
saga_games
);
@@ -88,7 +87,6 @@ DetectedGameList GAME_detectGames(const FSList &fslist) {
fslist,
(const byte *)gameDescriptions,
sizeof(SAGAGameDescription),
- ARRAYSIZE(gameDescriptions),
FILE_MD5_BYTES,
saga_games
);
diff --git a/engines/saga/sagagame.cpp b/engines/saga/sagagame.cpp
index f0b92fe552..56ad6425e4 100644
--- a/engines/saga/sagagame.cpp
+++ b/engines/saga/sagagame.cpp
@@ -1464,4 +1464,5 @@ static const SAGAGameDescription gameDescriptions[] = {
0,
NULL,
},
+ { { NULL, NULL, 0, NULL, Common::UNK_LANG, Common::kPlatformUnknown }, 0, 0, 0, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, 0, NULL }
};