summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/minx
diff options
context:
space:
mode:
author Derrick Renaud <derrickr@mamedev.org>2008-08-12 03:40:09 +0000
committer Derrick Renaud <derrickr@mamedev.org>2008-08-12 03:40:09 +0000
commitd5d5d9449bf6bed24f4bd6df287029f2aaf89342 (patch)
treeb6e157719686e44d66162165e5e60c45c99d0732 /src/emu/cpu/minx
parent7e7e4ef30f78cdc4afb5494a38fac60f7bf59f56 (diff)
structure, lower-casing functions and re-inclusion updates of the src\emu\cpu headers J - M.
Diffstat (limited to 'src/emu/cpu/minx')
-rw-r--r--src/emu/cpu/minx/minx.h11
-rw-r--r--src/emu/cpu/minx/minxfunc.h6
-rw-r--r--src/emu/cpu/minx/minxopce.h7
-rw-r--r--src/emu/cpu/minx/minxopcf.h6
-rw-r--r--src/emu/cpu/minx/minxops.h6
5 files changed, 31 insertions, 5 deletions
diff --git a/src/emu/cpu/minx/minx.h b/src/emu/cpu/minx/minx.h
index 0824a21bfb4..2b6fbf77b17 100644
--- a/src/emu/cpu/minx/minx.h
+++ b/src/emu/cpu/minx/minx.h
@@ -1,5 +1,9 @@
-#ifndef minx_H
-#define minx_H
+#pragma once
+
+#ifndef __MINX_H__
+#define __MINX_H__
+
+
#include "cpuintrf.h"
#include "osd_cpu.h"
#include "driver.h"
@@ -12,5 +16,4 @@ enum {
extern unsigned minx_dasm( char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram );
-#endif
-
+#endif /* __MINX_H__ */
diff --git a/src/emu/cpu/minx/minxfunc.h b/src/emu/cpu/minx/minxfunc.h
index ca97450078d..a4d7d249874 100644
--- a/src/emu/cpu/minx/minxfunc.h
+++ b/src/emu/cpu/minx/minxfunc.h
@@ -1,3 +1,8 @@
+#pragma once
+
+#ifndef __MINXFUNC_H__
+#define __MINXFUNC_H__
+
INLINE UINT8 ADD8( UINT8 arg1, UINT8 arg2 )
{
@@ -363,3 +368,4 @@ INLINE void CALL( UINT16 arg )
#define AD2_XL UINT32 addr2 = ( regs.XI << 16 ) | ( regs.X + ( regs.HL & 0x00FF ) )
#define AD2_YL UINT32 addr2 = ( regs.YI << 16 ) | ( regs.Y + ( regs.HL & 0x00FF ) )
+#endif /* __MINXFUNC_H__ */
diff --git a/src/emu/cpu/minx/minxopce.h b/src/emu/cpu/minx/minxopce.h
index 24b88675a13..0a258a06a01 100644
--- a/src/emu/cpu/minx/minxopce.h
+++ b/src/emu/cpu/minx/minxopce.h
@@ -1,3 +1,8 @@
+#pragma once
+
+#ifndef __MINXOPCE_H__
+#define __MINXOPCE_H__
+
#undef OP
#define OP(nn) INLINE void minx_CE_##nn(void)
@@ -331,4 +336,4 @@ static const int insnminx_cycles_CE[256] = {
12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12
};
-
+#endif /* __MINXOPCE_H__ */
diff --git a/src/emu/cpu/minx/minxopcf.h b/src/emu/cpu/minx/minxopcf.h
index 743b4d4b60a..ca7941d1f83 100644
--- a/src/emu/cpu/minx/minxopcf.h
+++ b/src/emu/cpu/minx/minxopcf.h
@@ -1,3 +1,8 @@
+#pragma once
+
+#ifndef __MINXOPCF_H__
+#define __MINXOPCF_H__
+
#undef OP
#define OP(nn) INLINE void minx_CF_##nn(void)
@@ -331,3 +336,4 @@ static const int insnminx_cycles_CF[256] = {
8, 8, 8, 8, 8, 8, 1, 1, 8, 8, 8, 1, 1, 1, 8, 1
};
+#endif /* __MINXOPCF_H__ */
diff --git a/src/emu/cpu/minx/minxops.h b/src/emu/cpu/minx/minxops.h
index c575316b36a..a61def55861 100644
--- a/src/emu/cpu/minx/minxops.h
+++ b/src/emu/cpu/minx/minxops.h
@@ -1,3 +1,8 @@
+#pragma once
+
+#ifndef __MINXOPS_H__
+#define __MINXOPS_H__
+
#undef OP
#define OP(nn) INLINE void minx_##nn(void)
@@ -331,3 +336,4 @@ static const int insnminx_cycles[256] = {
20, 8, 24, 12, 8, 1, 8, 12, 8, 8, 8, 20, 20, 1, 1, 8
};
+#endif /* __MINXOPS_H__ */