summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ep64/exdos.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ep64/exdos.h')
-rw-r--r--src/devices/bus/ep64/exdos.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/devices/bus/ep64/exdos.h b/src/devices/bus/ep64/exdos.h
index a2417e0b1fa..9cb002c7754 100644
--- a/src/devices/bus/ep64/exdos.h
+++ b/src/devices/bus/ep64/exdos.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_EP64_EXDOS_H
+#define MAME_BUS_EP64_EXDOS_H
-#ifndef __EP64_EXDOS__
-#define __EP64_EXDOS__
+#pragma once
#include "exp.h"
#include "formats/ep64_dsk.h"
@@ -45,7 +45,7 @@ protected:
virtual void device_reset() override;
private:
- required_device<wd1770_t> m_fdc;
+ required_device<wd1770_device> m_fdc;
required_device<floppy_connector> m_floppy0;
required_device<floppy_connector> m_floppy1;
required_device<floppy_connector> m_floppy2;
@@ -56,8 +56,7 @@ private:
// device type definition
-extern const device_type EP64_EXDOS;
-
+DECLARE_DEVICE_TYPE(EP64_EXDOS, ep64_exdos_device)
-#endif
+#endif // MAME_BUS_EP64_EXDOS_H