(MESS) Fixed listxml crash (nw)

This commit is contained in:
Wilbert Pol 2012-09-14 18:50:45 +00:00
parent 5cf91537cd
commit a9c3f10842
2 changed files with 9 additions and 1 deletions

View File

@ -188,6 +188,8 @@ public:
DECLARE_READ8_MEMBER( i8155_pc_r );
DECLARE_WRITE_LINE_MEMBER( i8155_to_w );
DECLARE_PALETTE_INIT(tandy200);
void bankswitch(UINT8 data);
/* memory state */

View File

@ -6,6 +6,12 @@ PALETTE_INIT_MEMBER(kc85_state,kc85)
palette_set_color(machine(), 1, MAKE_RGB(92, 83, 88));
}
PALETTE_INIT_MEMBER(tandy200_state,tandy200)
{
palette_set_color(machine(), 0, MAKE_RGB(138, 146, 148));
palette_set_color(machine(), 1, MAKE_RGB(92, 83, 88));
}
UINT32 kc85_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
m_lcdc0->screen_update(screen, bitmap, cliprect);
@ -77,7 +83,7 @@ MACHINE_CONFIG_FRAGMENT( tandy200_video )
MCFG_DEFAULT_LAYOUT(layout_lcd)
MCFG_PALETTE_LENGTH(2)
MCFG_PALETTE_INIT_OVERRIDE(kc85_state,kc85)
MCFG_PALETTE_INIT_OVERRIDE(tandy200_state,tandy200)
MCFG_HD61830_ADD(HD61830_TAG, XTAL_4_9152MHz/2/2, lcdc_intf)
MCFG_DEVICE_ADDRESS_MAP(AS_0, tandy200_lcdc)