aboutsummaryrefslogtreecommitdiff
path: root/hw/vga.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-13 13:26:49 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-13 13:26:49 +0000
commitf707cfba9a5ee2d4ea6edc3d0588163141f285ad (patch)
tree3542405725b43720dbadd877487b052efc6660be /hw/vga.c
parent1eb5207bfd3dbe4aa7dae076c527f84c4f5c804b (diff)
downloadqemu-f707cfba9a5ee2d4ea6edc3d0588163141f285ad.zip
qemu-f707cfba9a5ee2d4ea6edc3d0588163141f285ad.tar.gz
qemu-f707cfba9a5ee2d4ea6edc3d0588163141f285ad.tar.bz2
Allow VMware-SVGA operation enable before command FIFO is configured. Implement "screendump" for 32 bit colour depth.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2808 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/vga.c')
-rw-r--r--hw/vga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/vga.c b/hw/vga.c
index 3032ccf..9dbbfe2 100644
--- a/hw/vga.c
+++ b/hw/vga.c
@@ -2036,8 +2036,8 @@ static void vga_save_dpy_refresh(DisplayState *s)
{
}
-static int ppm_save(const char *filename, uint8_t *data,
- int w, int h, int linesize)
+int ppm_save(const char *filename, uint8_t *data,
+ int w, int h, int linesize)
{
FILE *f;
uint8_t *d, *d1;