diff options
author | Filippos Karapetis | 2009-09-12 00:10:07 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-09-12 00:10:07 +0000 |
commit | 90ae20c3eaaa173a8e7f799b678d835b23df6414 (patch) | |
tree | 02c831b25aaaab2e8fdb3606c8d3bae539719510 /engines/sci/detection.cpp | |
parent | 5c2f872ba4920406bc526e4e48a9d6271ef18aee (diff) | |
download | scummvm-rg350-90ae20c3eaaa173a8e7f799b678d835b23df6414.tar.gz scummvm-rg350-90ae20c3eaaa173a8e7f799b678d835b23df6414.tar.bz2 scummvm-rg350-90ae20c3eaaa173a8e7f799b678d835b23df6414.zip |
- Made obj_get and obj_get_name methods of SegManager (getObject and getObjectName, respectively)
- Renamed alloc_List -> allocateList, alloc_Node->allocateNode, alloc_hunk_entry->allocateHunkEntry, free_hunk_entry->freeHunkEntry, for consistency
svn-id: r44039
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 967134ccfb..6dc28d74c2 100644 --- a/engines/sci/detection.cpp +++ b/engines/sci/detection.cpp @@ -310,7 +310,7 @@ const ADGameDescription *SciMetaEngine::fallbackDetect(const Common::FSList &fsl return 0; } reg_t game_obj = script_lookup_export(segMan, 0, 0); - const char *gameName = obj_get_name(segMan, game_obj); + 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); delete segMan; |