Commit 5403281aeb49acd985de45a585162abf749497dd

Authored by aurel32
1 parent 846c54a7

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
Showing 1 changed file with 1 additions and 1 deletions
hw/blizzard.c
... ... @@ -939,7 +939,7 @@ static void blizzard_screen_dump(void *opaque, const char *filename) {
939 939  
940 940 blizzard_update_display(opaque);
941 941 if (s && ds_get_data(s->state))
942   - ppm_save(filename, s->state);
  942 + ppm_save(filename, s->state->surface);
943 943 }
944 944  
945 945 #define DEPTH 8
... ...