Skip to content
Snippets Groups Projects
Commit 53094238 authored by Aurelien Jarno's avatar Aurelien Jarno
Browse files

curses: save 250MB of memory


Don't call curses_resize() at the end of curses_display_init() as height
and width are not yet defined. It will be called later by code from
vl.c.

This save 250MB of memory when using -curses.

Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent 2ccc9500
No related branches found
No related tags found
No related merge requests found
...@@ -368,7 +368,4 @@ void curses_display_init(DisplayState *ds, int full_screen) ...@@ -368,7 +368,4 @@ void curses_display_init(DisplayState *ds, int full_screen)
ds->surface = qemu_create_displaysurface_from(640, 400, 0, 0, (uint8_t*) screen); ds->surface = qemu_create_displaysurface_from(640, 400, 0, 0, (uint8_t*) screen);
invalidate = 1; invalidate = 1;
/* Standard VGA initial text mode dimensions */
curses_resize(ds);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment