mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
DIRECTOR: Check .Dir extension on Mac
This commit is contained in:
parent
87a59c6064
commit
8badd763f2
@ -408,6 +408,12 @@ Common::String pathMakeRelative(Common::String path, bool recursive, bool addext
|
||||
if (testPath(res))
|
||||
return res;
|
||||
}
|
||||
} else if (g_director->getPlatform() == Common::kPlatformMacintosh && addexts) {
|
||||
// Try adding an extension D4 Mac movies
|
||||
Common::String res = pathMakeRelative(convPath + ".Dir", false, false);
|
||||
|
||||
if (testPath(res))
|
||||
return res;
|
||||
}
|
||||
|
||||
return initialPath; // Anyway nothing good is happening
|
||||
|
Loading…
x
Reference in New Issue
Block a user