mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-05 09:10:29 +00:00
Fixed crash when starting games with the stable GUI
svn-id: r44671
This commit is contained in:
parent
3654cefe33
commit
7596f535ac
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user