summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/i8039/8039dasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/i8039/8039dasm.c')
-rw-r--r--src/emu/cpu/i8039/8039dasm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/emu/cpu/i8039/8039dasm.c b/src/emu/cpu/i8039/8039dasm.c
index e138cf8ff15..3d33dad76af 100644
--- a/src/emu/cpu/i8039/8039dasm.c
+++ b/src/emu/cpu/i8039/8039dasm.c
@@ -29,7 +29,7 @@ typedef unsigned char byte;
#define FMT(a,b) a, b
#define PTRS_PER_FORMAT 2
-static const char *Formats[] = {
+static const char *const Formats[] = {
FMT("00000011dddddddd", "add a,#$%X"),
FMT("01101rrr", "add a,%R"),
FMT("0110000r", "add a,@%R"),
@@ -148,7 +148,8 @@ static int OpInizialized = 0;
static void InitDasm8039(void)
{
- const char *p, **ops;
+ const char *p;
+ const char *const *ops;
byte mask, bits;
int bit;
int i;