summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/mc1502_fdc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/isa/mc1502_fdc.h')
-rw-r--r--src/devices/bus/isa/mc1502_fdc.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/devices/bus/isa/mc1502_fdc.h b/src/devices/bus/isa/mc1502_fdc.h
index af8c3ee7d54..0d3b97f326c 100644
--- a/src/devices/bus/isa/mc1502_fdc.h
+++ b/src/devices/bus/isa/mc1502_fdc.h
@@ -6,14 +6,14 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_ISA_MC1502_FDC_H
+#define MAME_BUS_ISA_MC1502_FDC_H
-#ifndef __MC1502_FDC__
-#define __MC1502_FDC__
+#pragma once
-#include "imagedev/flopdrv.h"
#include "isa.h"
+#include "imagedev/flopdrv.h"
#include "machine/wd_fdc.h"
//**************************************************************************
@@ -44,7 +44,7 @@ protected:
virtual void device_start() override;
private:
- required_device<fd1793_t> m_fdc;
+ required_device<fd1793_device> m_fdc;
int motor_on;
emu_timer *motor_timer;
@@ -57,7 +57,6 @@ public:
// device type definition
-extern const device_type MC1502_FDC;
-
+DECLARE_DEVICE_TYPE(MC1502_FDC, mc1502_fdc_device)
-#endif
+#endif // MAME_BUS_ISA_MC1502_FDC_H