summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ieee488/hardbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ieee488/hardbox.h')
-rw-r--r--src/devices/bus/ieee488/hardbox.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/devices/bus/ieee488/hardbox.h b/src/devices/bus/ieee488/hardbox.h
index 8ea1acc5445..d10a19c7268 100644
--- a/src/devices/bus/ieee488/hardbox.h
+++ b/src/devices/bus/ieee488/hardbox.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_IEEE488_HARDBOX_H
+#define MAME_BUS_IEEE488_HARDBOX_H
-#ifndef __PET_HARDBOX__
-#define __PET_HARDBOX__
+#pragma once
#include "ieee488.h"
#include "cpu/z80/z80.h"
@@ -64,14 +64,13 @@ private:
};
required_device<cpu_device> m_maincpu;
- required_device<corvus_hdc_t> m_hdc;
+ required_device<corvus_hdc_device> m_hdc;
int m_ifc; // Tracks previous state of IEEE-488 IFC line
};
// device type definition
-extern const device_type HARDBOX;
-
+DECLARE_DEVICE_TYPE(HARDBOX, hardbox_device)
-#endif
+#endif // MAME_BUS_IEEE488_HARDBOX_H