summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/i86/modrm.h
diff options
context:
space:
mode:
author Derrick Renaud <derrickr@mamedev.org>2008-08-13 02:48:52 +0000
committer Derrick Renaud <derrickr@mamedev.org>2008-08-13 02:48:52 +0000
commit1daf41e21826daaa7e136f095672035817afcea5 (patch)
treef6f543718bf84378508a6d80c042e47d5f16beb0 /src/emu/cpu/i86/modrm.h
parent0f0b9208f62f0b631f6d5e91d12d244da9bb5c5e (diff)
Final CPU header updates. Mostly just re-naming the re-inclusions.
The structures/names were getting too complex for my macros to handle. They would require hand editing and my computer is too slow to keep re-compiling. Passes a clean compile.
Diffstat (limited to 'src/emu/cpu/i86/modrm.h')
-rw-r--r--src/emu/cpu/i86/modrm.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/emu/cpu/i86/modrm.h b/src/emu/cpu/i86/modrm.h
index cee4325e77f..2f83dbfe1e9 100644
--- a/src/emu/cpu/i86/modrm.h
+++ b/src/emu/cpu/i86/modrm.h
@@ -1,15 +1,12 @@
-#pragma once
-
-#ifndef __MODRM_H__
-#define __MODRM_H__
-
-
-static struct {
- struct {
+static struct
+{
+ struct
+ {
WREGS w[256];
BREGS b[256];
} reg;
- struct {
+ struct
+ {
WREGS w[256];
BREGS b[256];
} RM;
@@ -120,5 +117,3 @@ static struct {
unsigned src = FETCHOP; \
unsigned dst = I.regs.w[AX]; \
src += (FETCH << 8)
-
-#endif /* __MODRM_H__ */