diff options
Diffstat (limited to 'src/devices/bus/isa/mda.cpp')
-rw-r--r-- | src/devices/bus/isa/mda.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/isa/mda.cpp b/src/devices/bus/isa/mda.cpp index 718c59735bd..bd1f2d19300 100644 --- a/src/devices/bus/isa/mda.cpp +++ b/src/devices/bus/isa/mda.cpp @@ -81,7 +81,7 @@ static const gfx_layout pc_8_charlayout = 8*8 /* every char takes 8 bytes */ }; -static GFXDECODE_START( pcmda ) +static GFXDECODE_START( gfx_pcmda ) GFXDECODE_ENTRY( "gfx1", 0x0000, pc_16_charlayout, 1, 1 ) GFXDECODE_ENTRY( "gfx1", 0x1000, pc_8_charlayout, 1, 1 ) GFXDECODE_END @@ -124,7 +124,7 @@ MACHINE_CONFIG_START(isa8_mda_device::device_add_mconfig) MCFG_MC6845_OUT_HSYNC_CB(WRITELINE(*this, isa8_mda_device, hsync_changed)) MCFG_MC6845_OUT_VSYNC_CB(WRITELINE(*this, isa8_mda_device, vsync_changed)) - MCFG_GFXDECODE_ADD("gfxdecode", "palette", pcmda) + MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_pcmda) MCFG_DEVICE_ADD("lpt", PC_LPT, 0) MCFG_PC_LPT_IRQ_HANDLER(WRITELINE(*this, isa8_mda_device, pc_cpu_line)) @@ -519,7 +519,7 @@ allow this. The divder/pixels per 6845 clock is 9 for text mode and 16 for graphics mode. */ -static GFXDECODE_START( pcherc ) +static GFXDECODE_START( gfx_pcherc ) GFXDECODE_ENTRY( "gfx1", 0x0000, pc_16_charlayout, 1, 1 ) GFXDECODE_END @@ -552,7 +552,7 @@ MACHINE_CONFIG_START(isa8_hercules_device::device_add_mconfig) MCFG_MC6845_OUT_HSYNC_CB(WRITELINE(*this, isa8_mda_device, hsync_changed)) MCFG_MC6845_OUT_VSYNC_CB(WRITELINE(*this, isa8_mda_device, vsync_changed)) - MCFG_GFXDECODE_ADD("gfxdecode", "palette", pcherc) + MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_pcherc) MCFG_DEVICE_ADD("lpt", PC_LPT, 0) MCFG_PC_LPT_IRQ_HANDLER(WRITELINE(*this, isa8_mda_device, pc_cpu_line)) |