static void blizzard_screen_dump(void *opaque, const char *filename,

                                 bool cswitch, Error **errp)

{

    BlizzardState *s = (BlizzardState *) opaque;

    DisplaySurface *surface = qemu_console_surface(s->con);



    blizzard_update_display(opaque);

    if (s && surface_data(surface)) {

        ppm_save(filename, surface, errp);

    }

}

static void blizzard_screen_dump(void *opaque, const char *filename,

                                 bool cswitch, Error **errp)

{

    BlizzardState *s = (BlizzardState *) opaque;

    DisplaySurface *surface = qemu_console_surface(s->con);



    blizzard_update_display(opaque);

    if (s && surface_data(surface)) {

        ppm_save(filename, surface, errp);

    }

}

static void FUNC_0(void *VAR_0, const char *VAR_1,

                                 bool VAR_2, Error **VAR_3)

{

    BlizzardState *s = (BlizzardState *) VAR_0;

    DisplaySurface *surface = qemu_console_surface(s->con);



    blizzard_update_display(VAR_0);

    if (s && surface_data(surface)) {

        ppm_save(VAR_1, surface, VAR_3);

    }

}

static void FUNC_0(void *VAR_0, const char *VAR_1,
bool VAR_2, Error **VAR_3)
{ BlizzardState *s = (BlizzardState *) VAR_0; DisplaySurface *surface = qemu_console_surface(s->con); blizzard_update_display(VAR_0); if (s && surface_data(surface)) { ppm_save(VAR_1, surface, VAR_3); } }