diff options
author | 2008-08-13 02:48:52 +0000 | |
---|---|---|
committer | 2008-08-13 02:48:52 +0000 | |
commit | 1daf41e21826daaa7e136f095672035817afcea5 (patch) | |
tree | f6f543718bf84378508a6d80c042e47d5f16beb0 /src/emu/cpu/sm8500 | |
parent | 0f0b9208f62f0b631f6d5e91d12d244da9bb5c5e (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/sm8500')
-rw-r--r-- | src/emu/cpu/sm8500/sm8500.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/emu/cpu/sm8500/sm8500.h b/src/emu/cpu/sm8500/sm8500.h index 66f360afd4e..c5a6b73c4cf 100644 --- a/src/emu/cpu/sm8500/sm8500.h +++ b/src/emu/cpu/sm8500/sm8500.h @@ -1,5 +1,8 @@ -#ifndef sm8500_H -#define sm8500_H +#pragma once + +#ifndef __SM8500_H__ +#define __SM8500_H__ + #include "cpuintrf.h" typedef struct { @@ -20,7 +23,8 @@ typedef struct { #define WDT_INT 9 #define NMI_INT 10 -enum { +enum +{ /* "main" 16 bit register */ SM8500_PC=1, SM8500_SP, SM8500_PS, SM8500_SYS16, SM8500_RR0, SM8500_RR2, SM8500_RR4, SM8500_RR6, SM8500_RR8, SM8500_RR10, SM8500_RR12, SM8500_RR14, @@ -51,5 +55,4 @@ INLINE void sm85cpu_mem_writeword( UINT32 address, UINT16 value ) extern unsigned sm8500_dasm( char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram ); -#endif - +#endif /* __SM8500_H__ */ |