vga hack becuase 16-bit surfaces are broken in cocoa

This is easier to fix properly when recent console overhauls are merged in.
This commit is contained in:
espes 2015-07-15 03:13:43 +10:00
parent cfe80b9613
commit a197b7d493
1 changed files with 1 additions and 1 deletions

View File

@ -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);