summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h8.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/h8/h8.h')
-rw-r--r--src/devices/cpu/h8/h8.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/devices/cpu/h8/h8.h b/src/devices/cpu/h8/h8.h
index 089cec91fb7..ac1cb6dd2fe 100644
--- a/src/devices/cpu/h8/h8.h
+++ b/src/devices/cpu/h8/h8.h
@@ -9,8 +9,10 @@
***************************************************************************/
-#ifndef __H8_H__
-#define __H8_H__
+#ifndef MAME_CPU_H8_H8_H
+#define MAME_CPU_H8_H8_H
+
+#pragma once
class h8_dma_device;
class h8_dtc_device;
@@ -61,8 +63,6 @@ public:
STATE_DTC_WRITEBACK = 0x10006
};
- h8_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, bool mode_a16, address_map_delegate map_delegate);
-
void internal_update();
void set_irq(int irq_vector, int irq_level, bool irq_nmi);
bool trigger_dma(int vector);
@@ -154,6 +154,8 @@ protected:
DASM_mach /* internal register mach */
};
+ h8_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, bool mode_a16, address_map_delegate map_delegate);
+
// device-level overrides
virtual void device_start() override;
virtual void device_reset() override;
@@ -490,4 +492,4 @@ enum {
H8_EXR
};
-#endif
+#endif // MAME_CPU_H8_H8_H