summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h83337.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/h8/h83337.h')
-rw-r--r--src/devices/cpu/h8/h83337.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/devices/cpu/h8/h83337.h b/src/devices/cpu/h8/h83337.h
index f5a66409335..b29872b4c08 100644
--- a/src/devices/cpu/h8/h83337.h
+++ b/src/devices/cpu/h8/h83337.h
@@ -18,8 +18,10 @@
***************************************************************************/
-#ifndef __H83337_H__
-#define __H83337_H__
+#ifndef MAME_CPU_H8_H83337_H
+#define MAME_CPU_H8_H83337_H
+
+#pragma once
#include "h8.h"
#include "h8_intc.h"
@@ -32,7 +34,6 @@
class h83337_device : public h8_device {
public:
- h83337_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source);
h83337_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
DECLARE_READ8_MEMBER(wscr_r);
@@ -45,6 +46,8 @@ public:
DECLARE_WRITE8_MEMBER(mdcr_w);
protected:
+ h83337_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, uint32_t start);
+
required_device<h8_intc_device> intc;
required_device<h8_adc_device> adc;
required_device<h8_port_device> port1;
@@ -89,8 +92,8 @@ public:
h83336_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
};
-extern const device_type H83334;
-extern const device_type H83336;
-extern const device_type H83337;
+DECLARE_DEVICE_TYPE(H83334, h83334_device)
+DECLARE_DEVICE_TYPE(H83336, h83336_device)
+DECLARE_DEVICE_TYPE(H83337, h83337_device)
-#endif
+#endif // MAME_CPU_H8_H83337_H