diff options
author | Max Horn | 2009-09-06 12:57:42 +0000 |
---|---|---|
committer | Max Horn | 2009-09-06 12:57:42 +0000 |
commit | d04b5d2c9b46c1bf0ad8a7b93981eae301163cb3 (patch) | |
tree | 6dd83b676d66a3653e3d8d684f95175e363acae1 /engines/sci/detection.cpp | |
parent | c0ff500b0a1a1595f2f88583c925758039e9b64c (diff) | |
download | scummvm-rg350-d04b5d2c9b46c1bf0ad8a7b93981eae301163cb3.tar.gz scummvm-rg350-d04b5d2c9b46c1bf0ad8a7b93981eae301163cb3.tar.bz2 scummvm-rg350-d04b5d2c9b46c1bf0ad8a7b93981eae301163cb3.zip |
SCI: Rename resManager -> resMan; segManager -> segMan
svn-id: r43980
Diffstat (limited to 'engines/sci/detection.cpp')
-rw-r--r-- | engines/sci/detection.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp index a24a34b346..967134ccfb 100644 --- a/engines/sci/detection.cpp +++ b/engines/sci/detection.cpp @@ -301,19 +301,19 @@ const ADGameDescription *SciMetaEngine::fallbackDetect(const Common::FSList &fsl s_fallbackDesc.desc.platform = Common::kPlatformAmiga; // Determine the game id - SegManager *segManager = new SegManager(resMan); - if (!script_instantiate(resMan, segManager, 0)) { + SegManager *segMan = new SegManager(resMan); + if (!script_instantiate(resMan, segMan, 0)) { warning("fallbackDetect(): Could not instantiate script 0"); SearchMan.remove("SCI_detection"); - delete segManager; + delete segMan; delete resMan; return 0; } - reg_t game_obj = script_lookup_export(segManager, 0, 0); - const char *gameName = obj_get_name(segManager, game_obj); + reg_t game_obj = script_lookup_export(segMan, 0, 0); + const char *gameName = obj_get_name(segMan, 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); - delete segManager; + delete segMan; // Try to determine the game language // Load up text 0 and start looking for "#" characters |