From a197b7d49323f3a2f1e476c4ff4b0adb7671bed2 Mon Sep 17 00:00:00 2001 From: espes Date: Wed, 15 Jul 2015 03:13:43 +1000 Subject: [PATCH] vga hack becuase 16-bit surfaces are broken in cocoa This is easier to fix properly when recent console overhauls are merged in. --- hw/display/vga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/display/vga.c b/hw/display/vga.c index 468fb83f17..5434cfa031 100644 --- a/hw/display/vga.c +++ b/hw/display/vga.c @@ -1689,7 +1689,7 @@ static void vga_draw_graphic(VGACommonState *s, int full_update) height != s->last_height || s->last_depth != depth || s->enable_overlay != s->last_enable_overlay) { - if (!s->enable_overlay && (depth == 32 || (depth == 16 && !byteswap))) { + if (!s->enable_overlay && (depth == 32 || (false && depth == 16 && !byteswap))) { surface = qemu_create_displaysurface_from(disp_width, height, depth, s->line_offset, s->vram_ptr + (s->start_addr * 4), byteswap);