[Scummvm-cvs-logs] SF.net SVN: scummvm:[44671] scummvm/trunk/engines/sci/engine/game.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Oct 5 21:28:44 CEST 2009


Revision: 44671
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44671&view=rev
Author:   thebluegr
Date:     2009-10-05 19:28:43 +0000 (Mon, 05 Oct 2009)

Log Message:
-----------
Fixed crash when starting games with the stable GUI

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/game.cpp

Modified: scummvm/trunk/engines/sci/engine/game.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/game.cpp	2009-10-05 19:20:52 UTC (rev 44670)
+++ scummvm/trunk/engines/sci/engine/game.cpp	2009-10-05 19:28:43 UTC (rev 44671)
@@ -211,8 +211,6 @@
 	gfxop_fill_box(s->gfx_state, gfx_rect(0, 0, 320, 200), s->ega_colors[0]); // Fill screen black
 	gfxop_update(s->gfx_state);
 
-	s->gui->moveCursor(160, 150);
-
 	s->pic_is_new = 0;
 	s->pic_visible_map = GFX_MASK_NONE; // Other values only make sense for debugging
 	s->dyn_views = NULL; // no DynViews
@@ -281,6 +279,8 @@
 	s->titlebar_port->_bgcolor.priority = 11; // Standard priority for the titlebar port
 #endif
 
+	s->gui->moveCursor(160, 150);
+
 	return 0;
 }
 


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