summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/atarifb.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-02-27 13:35:15 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-02-27 13:35:15 +0000
commit64ac8f6776fc4451d756b0eb3bb6dbd22c49801a (patch)
treebb1d096fecec4684c8ab2b7be1b4d539ca06e57b /src/mame/machine/atarifb.c
parentf9d3fbaa73ccdab2e5fcf9fc095a14b4f24c3133 (diff)
Huge update, palette is now device (nw)
note: Aaron please give more descriptive text for release log I have no more strength :)
Diffstat (limited to 'src/mame/machine/atarifb.c')
-rw-r--r--src/mame/machine/atarifb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/machine/atarifb.c b/src/mame/machine/atarifb.c
index 56de399f043..cbf43ecb95e 100644
--- a/src/mame/machine/atarifb.c
+++ b/src/mame/machine/atarifb.c
@@ -45,14 +45,14 @@ WRITE8_MEMBER(atarifb_state::abaseb_out1_w)
if (data & 0x80)
{
/* Invert video */
- palette_set_color(machine(), 1, rgb_t(0x00,0x00,0x00)); /* black */
- palette_set_color(machine(), 0, rgb_t(0xff,0xff,0xff)); /* white */
+ m_palette->set_pen_color(1, rgb_t(0x00,0x00,0x00)); /* black */
+ m_palette->set_pen_color(0, rgb_t(0xff,0xff,0xff)); /* white */
}
else
{
/* Regular video */
- palette_set_color(machine(), 0, rgb_t(0x00,0x00,0x00)); /* black */
- palette_set_color(machine(), 1, rgb_t(0xff,0xff,0xff)); /* white */
+ m_palette->set_pen_color(0, rgb_t(0x00,0x00,0x00)); /* black */
+ m_palette->set_pen_color(1, rgb_t(0xff,0xff,0xff)); /* white */
}
}