aboutsummaryrefslogtreecommitdiff
path: root/common/advancedDetector.cpp
diff options
context:
space:
mode:
authorMax Horn2006-12-20 00:08:51 +0000
committerMax Horn2006-12-20 00:08:51 +0000
commit6eef02245cb5cf59d89eef8e020ae90b98109483 (patch)
treedcbda2a08463a6cfa0ee1978c09043dbb900692e /common/advancedDetector.cpp
parentdc30c2304c808dd25920e5f9a179533eb7a45555 (diff)
downloadscummvm-rg350-6eef02245cb5cf59d89eef8e020ae90b98109483.tar.gz
scummvm-rg350-6eef02245cb5cf59d89eef8e020ae90b98109483.tar.bz2
scummvm-rg350-6eef02245cb5cf59d89eef8e020ae90b98109483.zip
Stripped some more real_ prefixes from function names; also added a new FIXME comment to Kyra's setupGameFlags, and did some more cleanup
svn-id: r24899
Diffstat (limited to 'common/advancedDetector.cpp')
-rw-r--r--common/advancedDetector.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/advancedDetector.cpp b/common/advancedDetector.cpp
index afa97935d6..81994f1378 100644
--- a/common/advancedDetector.cpp
+++ b/common/advancedDetector.cpp
@@ -33,7 +33,7 @@
namespace Common {
-PluginError real_ADVANCED_DETECTOR_ENGINE_CREATE(
+PluginError ADVANCED_DETECTOR_ENGINE_CREATE(
DetectedGameList (*detectFunc)(const FSList &fslist),
const Common::ADObsoleteGameID *obsoleteList
) {
@@ -72,7 +72,7 @@ PluginError real_ADVANCED_DETECTOR_ENGINE_CREATE(
return kNoGameDataFoundError;
}
-GameDescriptor real_ADVANCED_DETECTOR_FIND_GAMEID(
+GameDescriptor ADVANCED_DETECTOR_FIND_GAMEID(
const char *gameid,
const PlainGameDescriptor *list,
const Common::ADObsoleteGameID *obsoleteList
@@ -174,7 +174,7 @@ int ADVANCED_DETECTOR_DETECT_INIT_GAME(
matches = ad.detectGame(0, md5Bytes, language, platform);
for (uint i = 0; i < matches.size(); i++) {
- if (toDetectedGame(*(const ADGameDescription *)(descs + matches[i] * descItemSize), list).gameid == gameid) {
+ if (((const ADGameDescription *)(descs + matches[i] * descItemSize))->gameid == gameid) {
gameNumber = matches[i];
break;
}