mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
324a802185
commit
e09fdfaf32
1 changed files with 0 additions and 3 deletions
3
curses.c
3
curses.c
|
@ -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);
|
||||
|
||||
invalidate = 1;
|
||||
|
||||
/* Standard VGA initial text mode dimensions */
|
||||
curses_resize(ds);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue