From 8badd763f273a67376dde2cb9072a6d34a966644 Mon Sep 17 00:00:00 2001 From: Nathanael Gentry Date: Tue, 4 Aug 2020 13:11:21 -0400 Subject: [PATCH] DIRECTOR: Check .Dir extension on Mac --- engines/director/util.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/engines/director/util.cpp b/engines/director/util.cpp index 28835edb900..3d61e725967 100644 --- a/engines/director/util.cpp +++ b/engines/director/util.cpp @@ -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