trunk/src/emu/video/tms9928a.c
r18097 | r18098 | |
90 | 90 | RGB_WHITE |
91 | 91 | }; |
92 | 92 | |
93 | | |
94 | | /* |
95 | | ** initialize the palette |
96 | | */ |
97 | | PALETTE_INIT( tms9928a ) |
98 | | { |
99 | | palette_set_colors(machine, 0, tms9928a_palette, TMS9928A_PALETTE_SIZE); |
100 | | } |
101 | | |
102 | | |
103 | 93 | tms9928a_device::tms9928a_device( const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, bool is_50hz, bool is_reva ) |
104 | 94 | : device_t( mconfig, type, name, tag, owner, clock ), |
105 | 95 | device_memory_interface(mconfig, *this), |
r18097 | r18098 | |
626 | 616 | |
627 | 617 | m_line_timer = timer_alloc(TIMER_LINE); |
628 | 618 | |
| 619 | palette_set_colors(machine(), 0, tms9928a_palette, TMS9928A_PALETTE_SIZE); |
| 620 | |
629 | 621 | save_item(NAME(m_Regs[0])); |
630 | 622 | save_item(NAME(m_Regs[1])); |
631 | 623 | save_item(NAME(m_Regs[2])); |