summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/tx1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/tx1.c')
-rw-r--r--src/mame/video/tx1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/tx1.c b/src/mame/video/tx1.c
index 4346f40bae0..9ee16fb6ff6 100644
--- a/src/mame/video/tx1.c
+++ b/src/mame/video/tx1.c
@@ -134,7 +134,7 @@ PALETTE_INIT_MEMBER(tx1_state,tx1)
g = compute_res_net(color_prom[i + 0x400] & 0xf, 1, &tx1_net_info);
b = compute_res_net(color_prom[i + 0x500] & 0xf, 2, &tx1_net_info);
- palette_set_color(machine(), i, rgb_t(r, g, b));
+ palette.set_pen_color(i, rgb_t(r, g, b));
}
}
@@ -1285,7 +1285,7 @@ PALETTE_INIT_MEMBER(tx1_state,buggyboy)
bit4 = BIT(color_prom[i + 0x300], 0);
b = 0x06 * bit4 + 0x0d * bit0 + 0x1e * bit1 + 0x41 * bit2 + 0x8a * bit3;
- palette_set_color(machine(), i, rgb_t(r, g, b));
+ palette.set_pen_color(i, rgb_t(r, g, b));
}
}