Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6355
c046a42c-6fe2-441c-8c8c-
71466251a162
{
TextConsole *s;
DisplayState *ds;
-
+
ds = (DisplayState *) qemu_mallocz(sizeof(DisplayState));
if (ds == NULL)
return NULL;
s->hw_text_update = text_update;
s->hw = opaque;
- register_displaystate(ds);
+ register_displaystate(ds);
return ds;
}
int i, j;
for (j = 0; j < 2; j++) {
for (i = 0; i < 8; i++) {
- color_table[j][i] = col_expand(ds,
+ color_table[j][i] = col_expand(ds,
vga_get_color(ds, color_table_rgb[j][i]));
}
}