diff options
-rw-r--r-- | src/devices/cpu/upd7810/upd7811.cpp | 1 | ||||
-rw-r--r-- | src/devices/cpu/upd7810/upd7811.h | 6 | ||||
-rw-r--r-- | src/mame/machine/cchip_dev.h | 15 |
3 files changed, 11 insertions, 11 deletions
diff --git a/src/devices/cpu/upd7810/upd7811.cpp b/src/devices/cpu/upd7810/upd7811.cpp index 13c10c68baf..97bfb5f25ef 100644 --- a/src/devices/cpu/upd7810/upd7811.cpp +++ b/src/devices/cpu/upd7810/upd7811.cpp @@ -7,6 +7,7 @@ */ +#include "emu.h" #include "upd7811.h" /* diff --git a/src/devices/cpu/upd7810/upd7811.h b/src/devices/cpu/upd7810/upd7811.h index 14847250952..89c107ab0f9 100644 --- a/src/devices/cpu/upd7810/upd7811.h +++ b/src/devices/cpu/upd7810/upd7811.h @@ -1,8 +1,8 @@ // license:BSD-3-Clause // copyright-holders:Juergen Buchmueller -#ifndef MAME_CPU_UPD7811 -#define MAME_CPU_UPD7811 +#ifndef MAME_CPU_UPD7811_H +#define MAME_CPU_UPD7811_H #pragma once @@ -17,4 +17,4 @@ public: upd7811_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); }; -#endif +#endif // MAME_CPU_UPD7811_H diff --git a/src/mame/machine/cchip_dev.h b/src/mame/machine/cchip_dev.h index dd1f9a8655d..f177cb542cb 100644 --- a/src/mame/machine/cchip_dev.h +++ b/src/mame/machine/cchip_dev.h @@ -1,8 +1,8 @@ // license:BSD-3-Clause // copyright-holders:David Haywood, Jonathan Gevaryahu -#ifndef MAME_MACHINE_CCHIP_DEV -#define MAME_MACHINE_CCHIP_DEV +#ifndef MAME_MACHINE_CCHIP_DEV_H +#define MAME_MACHINE_CCHIP_DEV_H #pragma once @@ -21,11 +21,7 @@ public: // construction/destruction taito_cchip_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - required_device<cpu_device> m_upd7811; - required_device<address_map_bank_device> m_upd4464_bank; - required_shared_ptr<uint8_t> m_upd4464; - - // can this be accessed externally? + // can be accessed externally DECLARE_READ8_MEMBER(asic_r); DECLARE_WRITE8_MEMBER(asic_w); DECLARE_READ8_MEMBER(mem_r); @@ -38,6 +34,9 @@ protected: virtual void device_reset() override; private: + required_device<cpu_device> m_upd7811; + required_device<address_map_bank_device> m_upd4464_bank; + required_shared_ptr<uint8_t> m_upd4464; }; -#endif // MAME_MACHINE_CCHIP_DEV +#endif // MAME_MACHINE_CCHIP_DEV_H |