summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author David Haywood <hazemamewip@hotmail.com>2017-07-06 11:38:01 +0100
committer Olivier Galibert <galibert@pobox.com>2017-07-06 12:38:01 +0200
commit41f14cf4f24be22204df6891eecd96ef92778eec (patch)
tree73a2b6294fcb71d1ea03c466bce410a9eb3b3228
parent445028aedf950d9e0d09645e05e3f1e25f16a6b9 (diff)
tidy (nw) (#2444)
-rw-r--r--src/devices/cpu/upd7810/upd7811.cpp1
-rw-r--r--src/devices/cpu/upd7810/upd7811.h6
-rw-r--r--src/mame/machine/cchip_dev.h15
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