aboutsummaryrefslogtreecommitdiff
path: root/hw/blizzard.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/blizzard.c')
-rw-r--r--hw/blizzard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/blizzard.c b/hw/blizzard.c
index 29074c4fa7..d1c9d81510 100644
--- a/hw/blizzard.c
+++ b/hw/blizzard.c
@@ -933,13 +933,13 @@ static void blizzard_update_display(void *opaque)
}
static void blizzard_screen_dump(void *opaque, const char *filename,
- bool cswitch)
+ bool cswitch, Error **errp)
{
BlizzardState *s = (BlizzardState *) opaque;
blizzard_update_display(opaque);
if (s && ds_get_data(s->state))
- ppm_save(filename, s->state->surface);
+ ppm_save(filename, s->state->surface, errp);
}
#define DEPTH 8