[Scummvm-cvs-logs] SF.net SVN: scummvm:[44915] scummvm/branches/branch-1-0-0/engines/agi/agi. cpp

agent-q at users.sourceforge.net agent-q at users.sourceforge.net
Sun Oct 11 14:46:49 CEST 2009


Revision: 44915
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44915&view=rev
Author:   agent-q
Date:     2009-10-11 12:46:49 +0000 (Sun, 11 Oct 2009)

Log Message:
-----------
DS: Set the correct controls mode on the DS port

Modified Paths:
--------------
    scummvm/branches/branch-1-0-0/engines/agi/agi.cpp

Modified: scummvm/branches/branch-1-0-0/engines/agi/agi.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/engines/agi/agi.cpp	2009-10-11 12:45:40 UTC (rev 44914)
+++ scummvm/branches/branch-1-0-0/engines/agi/agi.cpp	2009-10-11 12:46:49 UTC (rev 44915)
@@ -23,6 +23,10 @@
  *
  */
 
+#ifdef __DS__
+#include "dsmain.h"
+#endif
+
 #include "common/md5.h"
 #include "common/events.h"
 #include "common/file.h"
@@ -45,6 +49,7 @@
 #include "agi/menu.h"
 #include "agi/sound.h"
 
+
 namespace Agi {
 
 static uint32 g_tickTimer;
@@ -408,6 +413,8 @@
 	// Normally, the engine loads the predictive text dictionary when the predictive dialog
 	// is shown.  On the DS version, the word completion feature needs the dictionary too.
 	loadDict();
+
+	DS::setControls("agi");
 #endif
 
 	_egoHoldKey = false;


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