qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v5 2/9] vga: stop after the first ppm_save


From: Alon Levy
Subject: [Qemu-devel] [PATCH v5 2/9] vga: stop after the first ppm_save
Date: Wed, 22 Feb 2012 23:09:34 +0200

From: Gerd Hoffman <address@hidden>

Tested-by: Alon Levy <address@hidden>
---
 hw/vga.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/hw/vga.c b/hw/vga.c
index c1029db..a728f29 100644
--- a/hw/vga.c
+++ b/hw/vga.c
@@ -2369,6 +2369,7 @@ static void vga_save_dpy_update(DisplayState *ds,
 {
     if (screen_dump_filename) {
         ppm_save(screen_dump_filename, ds->surface);
+        screen_dump_filename = NULL;
     }
 }
 
-- 
1.7.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]