summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-05-26 12:01:56 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-05-26 12:01:56 -0400
commit3b1f444328fb759babc6635d0ed8379f4aecbf29 (patch)
treef8ac4eb5fc43f7f64bb9160994cdb963d30a6003 /src/mame/includes
parent11e613b1cdc498dfd7b5d095ba118c1ba299bef7 (diff)
atarist.cpp: Use device finder for floppies (nw)
blitz68k.cpp: Of course this has to be optional (nw)
Diffstat (limited to 'src/mame/includes')
-rw-r--r--src/mame/includes/atarist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/includes/atarist.h b/src/mame/includes/atarist.h
index 15c3930ada0..669556e449d 100644
--- a/src/mame/includes/atarist.h
+++ b/src/mame/includes/atarist.h
@@ -85,6 +85,7 @@ public:
: driver_device(mconfig, type, tag),
m_maincpu(*this, M68000_TAG),
m_fdc(*this, WD1772_TAG),
+ m_floppy(*this, WD1772_TAG ":%u", 0U),
m_mfp(*this, MC68901_TAG),
m_acia0(*this, MC6850_0_TAG),
m_acia1(*this, MC6850_1_TAG),
@@ -128,6 +129,7 @@ public:
required_device<cpu_device> m_maincpu;
required_device<wd1772_device> m_fdc;
+ required_device_array<floppy_connector, 2> m_floppy;
required_device<mc68901_device> m_mfp;
required_device<acia6850_device> m_acia0;
required_device<acia6850_device> m_acia1;
@@ -325,8 +327,6 @@ public:
bitmap_rgb32 m_bitmap;
- floppy_image_device *floppy_devices[2];
-
DECLARE_FLOPPY_FORMATS(floppy_formats);
IRQ_CALLBACK_MEMBER(atarist_int_ack);