summaryrefslogtreecommitdiff
path: root/hw/blizzard.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-16 20:07:19 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-16 20:07:19 +0000
commit5403281aeb49acd985de45a585162abf749497dd (patch)
tree521daf6b763bc169534413d3d78c415ff8fe1e47 /hw/blizzard.c
parent846c54a72d48f4381278e970db3010fbdf7f55e5 (diff)
Fix a warning in hw/blizzard.c
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6351 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/blizzard.c')
-rw-r--r--hw/blizzard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/blizzard.c b/hw/blizzard.c
index 2bc79f5b10..83f13bca55 100644
--- a/hw/blizzard.c
+++ b/hw/blizzard.c
@@ -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, s->state);
+ ppm_save(filename, s->state->surface);
}
#define DEPTH 8