- 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
This commit is contained in:
parent
5c2f872ba4
commit
90ae20c3ea
14 changed files with 108 additions and 112 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue