diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-16 19:07:10 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-01-16 19:07:10 +0000 |
commit | e07d630ad249ca142edf3c0d7b1eb03d43b8002d (patch) | |
tree | 8ab5149e144cbac9f4d5a33f05bd905b72a973a9 /hw/vga_int.h | |
parent | 3023f3329d87a6203d03a0e9ccb948772940da96 (diff) | |
download | qemu-e07d630ad249ca142edf3c0d7b1eb03d43b8002d.zip qemu-e07d630ad249ca142edf3c0d7b1eb03d43b8002d.tar.gz qemu-e07d630ad249ca142edf3c0d7b1eb03d43b8002d.tar.bz2 |
fix screendump (Stefano Stabellini)
this patch fixes the screendump functionality that was recently broken;
it must be applied *after* PATCH 5, 6 and 7 of the original displaystate
change patch series.
In fact the other patches make much easier to solve the screendump
problem because they make the console switching mechanism more robust.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6345 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/vga_int.h')
-rw-r--r-- | hw/vga_int.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/vga_int.h b/hw/vga_int.h index 5d06eed..f97e98f 100644 --- a/hw/vga_int.h +++ b/hw/vga_int.h @@ -202,8 +202,7 @@ void vga_dirty_log_stop(VGAState *s); uint32_t vga_mem_readb(void *opaque, target_phys_addr_t addr); void vga_mem_writeb(void *opaque, target_phys_addr_t addr, uint32_t val); void vga_invalidate_scanlines(VGAState *s, int y1, int y2); -int ppm_save(const char *filename, uint8_t *data, - int w, int h, int linesize); +int ppm_save(const char *filename, struct DisplaySurface *ds); void vga_draw_cursor_line_8(uint8_t *d1, const uint8_t *src1, int poffset, int w, |