diff options
Diffstat (limited to 'src/devices/cpu/h8/h83006.h')
-rw-r--r-- | src/devices/cpu/h8/h83006.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/devices/cpu/h8/h83006.h b/src/devices/cpu/h8/h83006.h index 9b73d54d1fe..6809c28c464 100644 --- a/src/devices/cpu/h8/h83006.h +++ b/src/devices/cpu/h8/h83006.h @@ -11,8 +11,10 @@ ***************************************************************************/ -#ifndef __H83006_H__ -#define __H83006_H__ +#ifndef MAME_CPU_H8_H83006_H +#define MAME_CPU_H8_H83006_H + +#pragma once #include "h8h.h" #include "h8_adc.h" @@ -25,13 +27,14 @@ class h83006_device : public h8h_device { public: - h83006_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); h83006_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); DECLARE_READ8_MEMBER(syscr_r); DECLARE_WRITE8_MEMBER(syscr_w); protected: + h83006_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, uint32_t start); + required_device<h8h_intc_device> intc; required_device<h8_adc_device> adc; required_device<h8_port_device> port4; @@ -76,7 +79,7 @@ public: h83007_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); }; -extern const device_type H83006; -extern const device_type H83007; +DECLARE_DEVICE_TYPE(H83006, h83006_device) +DECLARE_DEVICE_TYPE(H83007, h83007_device) -#endif +#endif // MAME_CPU_H8_H83006_H |