mirror of
https://github.com/holub/mame
synced 2025-05-05 05:53:05 +03:00
(MESS) vt100: Fixed screen regression. (nw)
This commit is contained in:
parent
afa6dbee84
commit
755c7b4b5d
@ -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)
|
||||
|
@ -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))
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user