diff --git a/src/emu/bus/adamnet/fdc.c b/src/emu/bus/adamnet/fdc.c index 12577dbfca9..c221c6e91f0 100644 --- a/src/emu/bus/adamnet/fdc.c +++ b/src/emu/bus/adamnet/fdc.c @@ -185,7 +185,7 @@ adam_fdc_device::adam_fdc_device(const machine_config &mconfig, const char *tag, device_adamnet_card_interface(mconfig, *this), m_maincpu(*this, M6801_TAG), m_fdc(*this, WD2793_TAG), - m_floppy0(*this, WD2793_TAG":0"), + m_floppy0(*this, WD2793_TAG":0:525ssdd"), m_floppy(NULL), m_ram(*this, "ram"), m_sw3(*this, "SW3") @@ -252,7 +252,7 @@ READ8_MEMBER( adam_fdc_device::p1_r ) UINT8 data = 0x00; // disk in place - data |= m_floppy0->get_device()->exists() ? 0x00 : 0x01; + data |= m_floppy0->exists() ? 0x00 : 0x01; // floppy data request data |= m_fdc->drq_r() ? 0x04 : 0x00; @@ -296,7 +296,7 @@ WRITE8_MEMBER( adam_fdc_device::p1_w ) if (BIT(data, 5)) { - m_floppy = m_floppy0->get_device(); + m_floppy = m_floppy0; } m_fdc->set_floppy(m_floppy); diff --git a/src/emu/bus/adamnet/fdc.h b/src/emu/bus/adamnet/fdc.h index 406e81d54d9..89b7777af31 100644 --- a/src/emu/bus/adamnet/fdc.h +++ b/src/emu/bus/adamnet/fdc.h @@ -29,7 +29,7 @@ // ======================> adam_fdc_device class adam_fdc_device : public device_t, - public device_adamnet_card_interface + public device_adamnet_card_interface { public: // construction/destruction @@ -58,7 +58,7 @@ protected: required_device m_maincpu; required_device m_fdc; - required_device m_floppy0; + required_device m_floppy0; floppy_image_device *m_floppy; required_shared_ptr m_ram; required_ioport m_sw3;