From cba88415bbd3fbb6d66e54b36379a38a7c4f3eea Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 24 Aug 2009 10:06:38 +0000 Subject: Fix bug #2843387 - PUTTPUTT/FATTYBEAR: Macintosh versions assert on startup. svn-id: r43687 --- engines/scumm/he/script_v60he.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'engines/scumm') diff --git a/engines/scumm/he/script_v60he.cpp b/engines/scumm/he/script_v60he.cpp index 92848ce981..4c01d3b15c 100644 --- a/engines/scumm/he/script_v60he.cpp +++ b/engines/scumm/he/script_v60he.cpp @@ -98,6 +98,13 @@ int ScummEngine_v60he::convertFilePath(byte *dst, int dstSize) { int len = resStrLen(dst); if (_game.platform == Common::kPlatformMacintosh) { + // Remove : prefix in HE71 games + if (dst[0] == ':') { + len -= 1; + memmove(dst, dst + 1, len); + dst[len] = 0; + } + // Switch all : to / for portablity for (int i = 0; i < len; i++) { if (dst[i] == ':') -- cgit v1.2.3