[Scummvm-cvs-logs] SF.net SVN: scummvm: [25477] scummvm/trunk/engines/agi/agi_v3.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Sat Feb 10 21:50:01 CET 2007


Revision: 25477
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25477&view=rev
Author:   sev
Date:     2007-02-10 12:50:00 -0800 (Sat, 10 Feb 2007)

Log Message:
-----------
Make Amiga v3 games work.

Modified Paths:
--------------
    scummvm/trunk/engines/agi/agi_v3.cpp

Modified: scummvm/trunk/engines/agi/agi_v3.cpp
===================================================================
--- scummvm/trunk/engines/agi/agi_v3.cpp	2007-02-10 18:48:28 UTC (rev 25476)
+++ scummvm/trunk/engines/agi/agi_v3.cpp	2007-02-10 20:50:00 UTC (rev 25477)
@@ -122,7 +122,12 @@
 	Common::File fp;
 	Common::String path;
 
-	path = Common::String(_vm->_game.name) + DIR_;
+	if (_vm->getPlatform() == Common::kPlatformAmiga) {
+		path = Common::String("dirs");
+		_vm->_game.name[0] = 0; // Empty prefix
+	} else {
+		path = Common::String(_vm->_game.name) + DIR_;
+	}
 
 	if (!fp.open(path)) {
 		printf("Failed to open \"%s\"\n", path.c_str());


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