diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-02-10 16:33:14 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-02-10 16:33:14 +0000 |
commit | 4d3b6f6e126553107a78999bd1070b086ae3c023 (patch) | |
tree | 53efc029b509407306b900d509256fdaabd6f49f /hw/vmware_vga.c | |
parent | c0be16d39fd7187764dcd3d65a63167c92e48142 (diff) | |
download | qemu-4d3b6f6e126553107a78999bd1070b086ae3c023.zip qemu-4d3b6f6e126553107a78999bd1070b086ae3c023.tar.gz qemu-4d3b6f6e126553107a78999bd1070b086ae3c023.tar.bz2 |
Add an ncurses UI.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3976 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/vmware_vga.c')
-rw-r--r-- | hw/vmware_vga.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index bd96e6b..2b4c59d 100644 --- a/hw/vmware_vga.c +++ b/hw/vmware_vga.c @@ -949,6 +949,14 @@ static void vmsvga_screen_dump(void *opaque, const char *filename) } } +static void vmsvga_text_update(void *opaque, console_ch_t *chardata) +{ + struct vmsvga_state_s *s = (struct vmsvga_state_s *) opaque; + + if (s->text_update) + s->text_update(opaque, chardata); +} + #ifdef DIRECT_VRAM static uint32_t vmsvga_vram_readb(void *opaque, target_phys_addr_t addr) { @@ -1101,7 +1109,8 @@ static void vmsvga_init(struct vmsvga_state_s *s, DisplayState *ds, iomemtype); graphic_console_init(ds, vmsvga_update_display, - vmsvga_invalidate_display, vmsvga_screen_dump, s); + vmsvga_invalidate_display, vmsvga_screen_dump, + vmsvga_text_update, s); #ifdef EMBED_STDVGA vga_common_init((VGAState *) s, ds, |