summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m37710/m7700ds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/m37710/m7700ds.c')
-rw-r--r--src/emu/cpu/m37710/m7700ds.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/cpu/m37710/m7700ds.c b/src/emu/cpu/m37710/m7700ds.c
index 07bc981e9d0..f6b77932b1e 100644
--- a/src/emu/cpu/m37710/m7700ds.c
+++ b/src/emu/cpu/m37710/m7700ds.c
@@ -18,7 +18,7 @@ Based on G65C816 CPU Emulator by Karl Stenerud
#define ADDRESS_24BIT(A) ((A)&0xffffff)
-struct opcode_struct
+struct m7700_opcode_struct
{
unsigned char name;
unsigned char flag;
@@ -72,7 +72,7 @@ static const char *const g_opnames[] =
"BBC", "BBS", "TBY", "ANDB","PUL", "PSH", "PLB", "XAB", "PHB",
};
-static const opcode_struct g_opcodes[256] =
+static const m7700_opcode_struct g_opcodes[256] =
{
{BRK, I, SIG }, {ORA, M, DXI }, {UNK, I, SIG }, {ORA, M, S },
{SEB, M, LDM4 }, {ORA, M, D }, {ASL, M, D }, {ORA, M, DLI },
@@ -155,7 +155,7 @@ static const opcode_struct g_opcodes[256] =
{JSR, I, AXI }, {SBC, M, AX }, {INC, M, AX }, {SBC, M, ALX }
};
-static const opcode_struct g_opcodes_prefix42[256] =
+static const m7700_opcode_struct g_opcodes_prefix42[256] =
{
{BRK, I, SIG }, {ORB, M, DXI }, {COP, I, SIG }, {ORB, M, S },
{TSB, M, D }, {ORB, M, D }, {ASL, M, D }, {ORB, M, DLI },
@@ -238,7 +238,7 @@ static const opcode_struct g_opcodes_prefix42[256] =
{JSR, I, AXI }, {SBCB, M, AX }, {INC, M, AX }, {SBCB, M, ALX }
};
-static const opcode_struct g_opcodes_prefix89[256] =
+static const m7700_opcode_struct g_opcodes_prefix89[256] =
{
{BRK, I, SIG }, {MPY, M, DXI }, {COP, I, SIG }, {MPY, M, S },
{TSB, M, D }, {MPY, M, D }, {ASL, M, D }, {MPY, M, DLI },
@@ -371,7 +371,7 @@ INLINE char* int_16_str(unsigned int val)
int m7700_disassemble(char* buff, unsigned int pc, unsigned int pb, const UINT8 *oprom, int m_flag, int x_flag)
{
unsigned int instruction;
- const opcode_struct *opcode;
+ const m7700_opcode_struct *opcode;
char* ptr;
int var;
signed char varS;