Fixed crash when starting games with the stable GUI

svn-id: r44671
This commit is contained in:
Filippos Karapetis 2009-10-05 19:28:43 +00:00
parent 3654cefe33
commit 7596f535ac

View File

@ -211,8 +211,6 @@ int _reset_graphics_input(EngineState *s) {
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 @@ int _reset_graphics_input(EngineState *s) {
s->titlebar_port->_bgcolor.priority = 11; // Standard priority for the titlebar port
#endif
s->gui->moveCursor(160, 150);
return 0;
}