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

agent-q at users.sourceforge.net agent-q at users.sourceforge.net
Sun Oct 11 15:10:12 CEST 2009


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

Log Message:
-----------
DS: Disable the debug console for just ITE in the DS port.  Probably need to find a more general solution to this.

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

Modified: scummvm/branches/branch-1-0-0/engines/saga/saga.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/engines/saga/saga.cpp	2009-10-11 12:51:13 UTC (rev 44916)
+++ scummvm/branches/branch-1-0-0/engines/saga/saga.cpp	2009-10-11 13:10:12 UTC (rev 44917)
@@ -223,7 +223,9 @@
 	_gfx = new Gfx(this, _system, getDisplayInfo().width, getDisplayInfo().height);
 
 	// Graphics driver should be initialized before console
+#ifndef __DS__
 	_console = new Console(this);
+#endif
 
 	// Graphics should be initialized before music
 	int midiDriver = MidiDriver::detectMusicDriver(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI);
@@ -321,8 +323,10 @@
 	uint32 currentTicks;
 
 	while (!shouldQuit()) {
+#ifndef __DS__
 		if (_console->isAttached())
 			_console->onFrame();
+#endif
 
 		if (_render->getFlags() & RF_RENDERPAUSE) {
 			// Freeze time while paused


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