[Scummvm-cvs-logs] SF.net SVN: scummvm:[43688] scummvm/branches/branch-1-0-0/engines/scumm/he/ script_v60he.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Mon Aug 24 12:06:51 CEST 2009
Revision: 43688
http://scummvm.svn.sourceforge.net/scummvm/?rev=43688&view=rev
Author: Kirben
Date: 2009-08-24 10:06:51 +0000 (Mon, 24 Aug 2009)
Log Message:
-----------
Backport fix for bug #2843387 - PUTTPUTT/FATTYBEAR: Macintosh versions assert on startup.
Modified Paths:
--------------
scummvm/branches/branch-1-0-0/engines/scumm/he/script_v60he.cpp
Modified: scummvm/branches/branch-1-0-0/engines/scumm/he/script_v60he.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/engines/scumm/he/script_v60he.cpp 2009-08-24 10:06:38 UTC (rev 43687)
+++ scummvm/branches/branch-1-0-0/engines/scumm/he/script_v60he.cpp 2009-08-24 10:06:51 UTC (rev 43688)
@@ -98,6 +98,13 @@
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] == ':')
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list