summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/1216368
diff options
context:
space:
mode:
Diffstat (limited to 'results/scraper/launchpad-without-comments/1216368')
-rw-r--r--results/scraper/launchpad-without-comments/121636817
1 files changed, 17 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1216368 b/results/scraper/launchpad-without-comments/1216368
new file mode 100644
index 000000000..165ad5870
--- /dev/null
+++ b/results/scraper/launchpad-without-comments/1216368
@@ -0,0 +1,17 @@
+unsupported screen resolution crashes sdl-qemu
+
+if the (windows) guest sets a screen resolution that the SDL backend does not support,
+qemu does an exit(1).
+with this fix, the the resolution is still wrong (only part of the desktop is displayed),
+but qemu keeps running and the guest can auto-revert the video mode:
+
+ui/sdl.c:do_sdl_resize()
+    SDL_Surface * tmp_screen;
+    tmp_screen = SDL_SetVideoMode(width, height, bpp, flags);
+    if (!tmp_screen) {
+//      fprintf(stderr, "Could not open SDL display (%dx%dx%d): %s\n", width, 
+//              height, bpp, SDL_GetError());
+//      exit(1);
+    } else {
+        real_screen = tmp_screen;
+    }
\ No newline at end of file