summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/unsp/unspdasm.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-01-11 07:32:46 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-01-11 07:32:46 +0000
commit0e19f641d3186cdbf51f8ca857e2b07ab95779c2 (patch)
tree234109de1123b13f217494af4b3f8efad346d5cc /src/emu/cpu/unsp/unspdasm.c
parent111157ca09a9ff60fe4a9ba49173c315e94314fa (diff)
Cleanups and version bumpmame0148
Diffstat (limited to 'src/emu/cpu/unsp/unspdasm.c')
-rw-r--r--src/emu/cpu/unsp/unspdasm.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/emu/cpu/unsp/unspdasm.c b/src/emu/cpu/unsp/unspdasm.c
index 962cd699005..023d41061a3 100644
--- a/src/emu/cpu/unsp/unspdasm.c
+++ b/src/emu/cpu/unsp/unspdasm.c
@@ -13,11 +13,11 @@ static char *output;
static void ATTR_PRINTF(1,2) print(const char *fmt, ...)
{
- va_list vl;
+ va_list vl;
- va_start(vl, fmt);
- vsprintf(output, fmt, vl);
- va_end(vl);
+ va_start(vl, fmt);
+ vsprintf(output, fmt, vl);
+ va_end(vl);
}
/*****************************************************************************/
@@ -43,13 +43,13 @@ static const char *alu[] =
/*****************************************************************************/
-#define OP0 (op >> 12)
-#define OPA ((op >> 9) & 7)
-#define OP1 ((op >> 6) & 7)
-#define OPN ((op >> 3) & 7)
-#define OPB (op & 7)
-#define OPIMM (op & 0x3f)
-#define OP2X ((OP0 < 14 && OP1 == 4 && (OPN >= 1 && OPN <= 3)) || (OP0 == 15 && (OP1 == 1 || OP1 == 2)))
+#define OP0 (op >> 12)
+#define OPA ((op >> 9) & 7)
+#define OP1 ((op >> 6) & 7)
+#define OPN ((op >> 3) & 7)
+#define OPB (op & 7)
+#define OPIMM (op & 0x3f)
+#define OP2X ((OP0 < 14 && OP1 == 4 && (OPN >= 1 && OPN <= 3)) || (OP0 == 15 && (OP1 == 1 || OP1 == 2)))
/*****************************************************************************/
@@ -266,5 +266,5 @@ CPU_DISASSEMBLE( unsp )
}
return UNSP_DASM_OK;
}
- return UNSP_DASM_OK;
+ return UNSP_DASM_OK;
}