diff options
author | David Turner <digit@android.com> | 2010-09-10 13:02:07 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2010-09-13 00:30:35 -0700 |
commit | 9d1188280fa5294f9438424e5e8eae91f645bfd8 (patch) | |
tree | f50f39aa43923a3c407ec55d72e5031a5aa45e21 /console.c | |
parent | 622311e8dfe485ba588b570c69d66e71d9624104 (diff) | |
download | external_qemu-9d1188280fa5294f9438424e5e8eae91f645bfd8.zip external_qemu-9d1188280fa5294f9438424e5e8eae91f645bfd8.tar.gz external_qemu-9d1188280fa5294f9438424e5e8eae91f645bfd8.tar.bz2 |
upstream: qemu-char updates.
Diffstat (limited to 'console.c')
-rw-r--r-- | console.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -173,7 +173,7 @@ void vga_hw_update(void) void vga_hw_invalidate(void) { - if (active_console->hw_invalidate) + if (active_console && active_console->hw_invalidate) active_console->hw_invalidate(active_console->hw); } @@ -835,7 +835,6 @@ static void console_clear_xy(TextConsole *s, int x, int y) TextCell *c = &s->cells[y1 * s->width + x]; c->ch = ' '; c->t_attrib = s->t_attrib_default; - c++; update_xy(s, x, y); } @@ -1393,7 +1392,7 @@ static void text_console_do_init(CharDriverState *chr, DisplayState *ds, const c s->t_attrib = s->t_attrib_default; text_console_resize(s); - qemu_chr_reset(chr); + qemu_chr_generic_open(chr); if (chr->init) chr->init(chr); } |