Fix compilation of blizzard.c
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 16 Jan 2009 19:51:14 +0000 (19:51 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 16 Jan 2009 19:51:14 +0000 (19:51 +0000)
ppm_save's signature changed so it needs updating.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6350 c046a42c-6fe2-441c-8c8c-71466251a162

hw/blizzard.c

index 9839a396bd0bff204dcc6ba8561025bfe8a9b178..2bc79f5b10c652ec4b3f4ac1cdef5fe8eba59de6 100644 (file)
@@ -939,7 +939,7 @@ static void blizzard_screen_dump(void *opaque, const char *filename) {
 
     blizzard_update_display(opaque);
     if (s && ds_get_data(s->state))
-        ppm_save(filename, ds_get_data(s->state), s->x, s->y, ds_get_linesize(s->state));
+        ppm_save(filename, s->state);
 }
 
 #define DEPTH 8