Skip to content

Commit

Permalink
ZVISION: Also handle paths in NEMESIS.ZIX for the DVD ver. of Nemesis
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Jan 7, 2015
1 parent a9b7954 commit 913075d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions engines/zvision/file/search_manager.cpp
Expand Up @@ -165,6 +165,11 @@ bool SearchManager::loadZix(const Common::String &name) {
if (path[i] == '\\')
path.setChar('/', i);

// Check if NEMESIS.ZIX/MEDIUM.ZIX refers to the znemesis folder, and
// check the game root folder instead
if (path.hasPrefix("znemesis/"))
path = Common::String(path.c_str() + 9);

// Check if INQUIS.ZIX refers to the ZGI folder, and check the game
// root folder instead
if (path.hasPrefix("zgi/"))
Expand Down

0 comments on commit 913075d

Please sign in to comment.