diff options
author | 2014-02-27 13:35:15 +0000 | |
---|---|---|
committer | 2014-02-27 13:35:15 +0000 | |
commit | 64ac8f6776fc4451d756b0eb3bb6dbd22c49801a (patch) | |
tree | bb1d096fecec4684c8ab2b7be1b4d539ca06e57b /src/mess/drivers/tim100.c | |
parent | f9d3fbaa73ccdab2e5fcf9fc095a14b4f24c3133 (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/mess/drivers/tim100.c')
-rw-r--r-- | src/mess/drivers/tim100.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mess/drivers/tim100.c b/src/mess/drivers/tim100.c index 1a535c873b5..da5a635c622 100644 --- a/src/mess/drivers/tim100.c +++ b/src/mess/drivers/tim100.c @@ -56,7 +56,7 @@ static const rgb_t tim100_palette[3] = { void tim100_state::machine_reset() { - palette_set_colors(machine(), 0, tim100_palette, ARRAY_LENGTH(tim100_palette)); + m_palette->set_pen_colors(0, tim100_palette, ARRAY_LENGTH(tim100_palette)); } const gfx_layout tim100_charlayout = @@ -130,11 +130,11 @@ static MACHINE_CONFIG_START( tim100, tim100_state ) MCFG_SCREEN_SIZE(40*16, 16*16) MCFG_SCREEN_VISIBLE_AREA(0, 40*16-1, 0, 16*16-1) - MCFG_GFXDECODE_ADD("gfxdecode", tim100 ) + MCFG_GFXDECODE_ADD("gfxdecode", tim100 ) MCFG_I8275_ADD ( "i8276", tim100_i8276_interface) - MCFG_PALETTE_LENGTH(3) + MCFG_PALETTE_ADD("palette", 3) MCFG_DEVICE_ADD("uart_u17", I8251, 0) MCFG_DEVICE_ADD("uart_u18", I8251, 0) |