mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
ZVISION: Add support for unmodified INQUIS.ZIX files
This will greatly help users copy the unmodified file from the game CDs of ZGI and get the game working straight away
This commit is contained in:
parent
0c54278f6c
commit
976b4adb4e
@ -169,8 +169,13 @@ void SearchManager::loadZix(const Common::String &name) {
|
||||
line.trim();
|
||||
if (line.matchString("----------*", true))
|
||||
break;
|
||||
else if (line.matchString("DIR:*", true)) {
|
||||
else if (line.matchString("DIR:*", true) || line.matchString("CD0:*", true) || line.matchString("CD1:*", true)) {
|
||||
Common::String path(line.c_str() + 5);
|
||||
// Check if INQUIS.ZIX refers to the ZGI folder, and check the game
|
||||
// root folder instead
|
||||
if (path.hasPrefix("zgi\\"))
|
||||
path = Common::String(path.c_str() + 4);
|
||||
|
||||
Common::Archive *arc;
|
||||
char tempPath[128];
|
||||
strcpy(tempPath, path.c_str());
|
||||
|
Loading…
Reference in New Issue
Block a user