summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Cave-Ayland2017-05-01 09:33:47 +0200
committerMark Cave-Ayland2017-05-05 10:48:32 +0200
commitb290f3b12e30e4da7acd10662e85ae8b37d75d44 (patch)
tree2fafc8be682be755b78a208024ec61e161fd4163
parentMerge remote-tracking branch 'sthibault/tags/samuel-thibault' into staging (diff)
downloadqemu-b290f3b12e30e4da7acd10662e85ae8b37d75d44.tar.gz
qemu-b290f3b12e30e4da7acd10662e85ae8b37d75d44.tar.xz
qemu-b290f3b12e30e4da7acd10662e85ae8b37d75d44.zip
tcx: fix cut/paste error in update_palette_entries()
Commit ee72bed0 "tcx: remove primitives for non-32-bit surfaces" accidentally left a trailing break in update_palette_entries() causing the palette update routine to exit after just one iteration. Remove it. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
-rw-r--r--hw/display/tcx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/display/tcx.c b/hw/display/tcx.c
index 5a1115cc65..0e66dcd055 100644
--- a/hw/display/tcx.c
+++ b/hw/display/tcx.c
@@ -145,7 +145,6 @@ static void update_palette_entries(TCXState *s, int start, int end)
} else {
s->palette[i] = rgb_to_pixel32(s->r[i], s->g[i], s->b[i]);
}
- break;
}
tcx_set_dirty(s, 0, memory_region_size(&s->vram_mem));
}