diff options
Diffstat (limited to 'src/mame/drivers/ax20.cpp')
-rw-r--r-- | src/mame/drivers/ax20.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mame/drivers/ax20.cpp b/src/mame/drivers/ax20.cpp index 0803fe9f5b3..7cb4ff858f6 100644 --- a/src/mame/drivers/ax20.cpp +++ b/src/mame/drivers/ax20.cpp @@ -25,13 +25,14 @@ class ax20_state : public driver_device { public: - ax20_state(const machine_config &mconfig, device_type type, const char *tag) - : driver_device(mconfig, type, tag), + ax20_state(const machine_config &mconfig, device_type type, const char *tag) : + driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_p_vram(*this, "p_vram"), m_gfxdecode(*this, "gfxdecode"), m_palette(*this, "palette"), - m_fdc(*this, "fdc") { } + m_fdc(*this, "fdc") + { } void ax20(machine_config &config); @@ -145,9 +146,9 @@ MACHINE_CONFIG_START(ax20_state::ax20) MCFG_SCREEN_UPDATE_DRIVER(ax20_state, screen_update) MCFG_SCREEN_SIZE(80*8, 24*12) MCFG_SCREEN_VISIBLE_AREA(0, 80*8-1, 0, 24*12-1) - MCFG_SCREEN_PALETTE("palette") + MCFG_SCREEN_PALETTE(m_palette) MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_ax20) - MCFG_PALETTE_ADD_MONOCHROME("palette") + PALETTE(config, m_palette, palette_device::MONOCHROME); I8272A(config, m_fdc, 8'000'000, true); |