aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorEugene Sandulenko2006-12-29 00:03:03 +0000
committerEugene Sandulenko2006-12-29 00:03:03 +0000
commitc01839bbe98f62b242d7f3bbc72a8095ae28d94c (patch)
treee07e41ba0d916bc7e84eff59067418c946acedf9 /common
parent291859eccd02be5f728cc412760148995492caff (diff)
downloadscummvm-rg350-c01839bbe98f62b242d7f3bbc72a8095ae28d94c.tar.gz
scummvm-rg350-c01839bbe98f62b242d7f3bbc72a8095ae28d94c.tar.bz2
scummvm-rg350-c01839bbe98f62b242d7f3bbc72a8095ae28d94c.zip
Make ADGameFileDescription is built in directly into ADGameDescription.
svn-id: r24947
Diffstat (limited to 'common')
-rw-r--r--common/advancedDetector.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/advancedDetector.h b/common/advancedDetector.h
index 098aa1bec9..1b9403c322 100644
--- a/common/advancedDetector.h
+++ b/common/advancedDetector.h
@@ -39,7 +39,7 @@ struct ADGameFileDescription {
struct ADGameDescription {
const char *gameid;
const char *extra;
- const ADGameFileDescription *filesDescriptions;
+ const ADGameFileDescription filesDescriptions[14];
Language language;
Platform platform;
};
@@ -53,6 +53,7 @@ struct ADObsoleteGameID {
typedef Array<int> ADList;
typedef Array<const ADGameDescription*> ADGameDescList;
+#define AD_ENTRY1(f, x) {{ f, 0, x }, {NULL, 0, NULL}}
// TODO/FIXME: Fingolfin asks: Why is AdvancedDetector a class, considering that