diff options
author | Filippos Karapetis | 2009-09-17 09:36:52 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-09-17 09:36:52 +0000 |
commit | dce185ba8b3566e16763d07fd1a690eff4eae3e2 (patch) | |
tree | 359118b624a1bedcb24757998b0844d4d82a8dc4 /engines/sci/detection.cpp | |
parent | 4c824775593047ab987c925e448bfa7ae23cdc8f (diff) | |
download | scummvm-rg350-dce185ba8b3566e16763d07fd1a690eff4eae3e2.tar.gz scummvm-rg350-dce185ba8b3566e16763d07fd1a690eff4eae3e2.tar.bz2 scummvm-rg350-dce185ba8b3566e16763d07fd1a690eff4eae3e2.zip |
Made script_lookup_export() a method of SegManager
svn-id: r44140
Diffstat (limited to 'engines/sci/detection.cpp')
-rw-r--r-- | engines/sci/detection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp index 6dc28d74c2..b44f494a00 100644 --- a/engines/sci/detection.cpp +++ b/engines/sci/detection.cpp @@ -309,7 +309,7 @@ const ADGameDescription *SciMetaEngine::fallbackDetect(const Common::FSList &fsl delete resMan; return 0; } - reg_t game_obj = script_lookup_export(segMan, 0, 0); + reg_t game_obj = segMan->lookupScriptExport(0, 0); const char *gameName = segMan->getObjectName(game_obj); debug(2, "Detected ID: \"%s\" at %04x:%04x", gameName, PRINT_REG(game_obj)); s_fallbackDesc.desc.gameid = convertSierraGameId(gameName, &s_fallbackDesc.desc.flags); |