summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/se3208/se3208.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/se3208/se3208.h')
-rw-r--r--src/devices/cpu/se3208/se3208.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/devices/cpu/se3208/se3208.h b/src/devices/cpu/se3208/se3208.h
index 7f005bec2f3..bb00f3f06ad 100644
--- a/src/devices/cpu/se3208/se3208.h
+++ b/src/devices/cpu/se3208/se3208.h
@@ -1,5 +1,9 @@
// license:BSD-3-Clause
// copyright-holders:ElSemi
+#ifndef MAME_CPU_SE3208_SE3208_H
+#define MAME_CPU_SE3208_SE3208_H
+
+#pragma once
enum
{
@@ -80,8 +84,8 @@ private:
inline void PushVal(uint32_t Val);
inline uint32_t PopVal();
- typedef void (se3208_device::*_OP)(uint16_t Opcode);
- _OP OpTable[0x10000];
+ typedef void (se3208_device::*OP)(uint16_t Opcode);
+ OP OpTable[0x10000];
void INVALIDOP(uint16_t Opcode);
void LDB(uint16_t Opcode);
@@ -159,11 +163,13 @@ private:
void MVFC(uint16_t Opcode);
void BuildTable(void);
- _OP DecodeOp(uint16_t Opcode);
+ OP DecodeOp(uint16_t Opcode);
void SE3208_NMI();
void SE3208_Interrupt();
};
-extern const device_type SE3208;
+DECLARE_DEVICE_TYPE(SE3208, se3208_device)
+
+#endif // MAME_CPU_SE3208_SE3208_H