(MESS) vt100: Fixed screen regression. (nw)

This commit is contained in:
Curt Coder 2014-03-11 06:26:52 +00:00
parent afa6dbee84
commit 755c7b4b5d
3 changed files with 9 additions and 6 deletions

View File

@ -1213,7 +1213,7 @@ static MACHINE_CONFIG_START( rainbow, rainbow_state )
MCFG_SCREEN_PALETTE("vt100_video:palette")
MCFG_GFXDECODE_ADD("gfxdecode", rainbow)
MCFG_RAINBOW_VIDEO_ADD("vt100_video", video_interface)
MCFG_RAINBOW_VIDEO_ADD("vt100_video", "screen", video_interface)
MCFG_FD1793_ADD("wd1793", rainbow_wd17xx_interface )
MCFG_LEGACY_FLOPPY_4_DRIVES_ADD(floppy_intf)

View File

@ -427,7 +427,7 @@ static MACHINE_CONFIG_START( vt100, vt100_state )
MCFG_DEFAULT_LAYOUT( layout_vt100 )
MCFG_VT100_VIDEO_ADD("vt100_video", vt100_video_interface)
MCFG_VT100_VIDEO_ADD("vt100_video", "screen", vt100_video_interface)
MCFG_DEVICE_ADD("i8251", I8251, 0)
MCFG_I8251_TXD_HANDLER(DEVWRITELINE(RS232_TAG, rs232_port_device, write_txd))

View File

@ -101,13 +101,16 @@ extern const device_type VT100_VIDEO;
extern const device_type RAINBOW_VIDEO;
#define MCFG_VT100_VIDEO_ADD(_tag, _intrf) \
#define MCFG_VT100_VIDEO_ADD(_tag, _screen_tag, _intrf) \
MCFG_DEVICE_ADD(_tag, VT100_VIDEO, 0) \
MCFG_DEVICE_CONFIG(_intrf)
MCFG_DEVICE_CONFIG(_intrf) \
MCFG_VIDEO_SET_SCREEN(_screen_tag)
#define MCFG_RAINBOW_VIDEO_ADD(_tag, _intrf) \
#define MCFG_RAINBOW_VIDEO_ADD(_tag, _screen_tag, _intrf) \
MCFG_DEVICE_ADD(_tag, RAINBOW_VIDEO, 0) \
MCFG_DEVICE_CONFIG(_intrf)
MCFG_DEVICE_CONFIG(_intrf) \
MCFG_VIDEO_SET_SCREEN(_screen_tag)
#endif