Skip to content

Commit

Permalink
tcx: fix cut/paste error in update_palette_entries()
Browse files Browse the repository at this point in the history
Commit ee72bed "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 <[email protected]>
  • Loading branch information
mcayland committed May 5, 2017
1 parent e619b14 commit b290f3b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hw/display/tcx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit b290f3b

Please sign in to comment.