Fix tms9918a transparent color rendering
commit34ed1feed5a167e59379a812eb9028912b1bc768
authorJuha Riihimäki <juha.riihimaki@nokia.com>
Wed, 24 Jun 2009 12:19:45 +0000 (24 13:19 +0100)
committerStuart Brady <stuart.brady@gmail.com>
Wed, 24 Jun 2009 12:19:45 +0000 (24 13:19 +0100)
tree342269aaf83f0795c287fcd983e2187f71a9bb75
parentd16c78b8b61378f986fc73c457be3718a7fdb174
Fix tms9918a transparent color rendering

Currently transparent color (index 0) is always rendered black -- this
is wrong, transparent color should be a copy of the TMS9918A
background color control register value or if that's zero, black. This
patch fixes the problem by reassigning the RGB value for the
transparent color always before the screen is rendered.

Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>
hw/v9918.c