summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/pps4
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-09-20 11:42:37 +1000
committer Vas Crabb <vas@vastheman.com>2018-09-20 11:42:37 +1000
commit2993e850bbe44f8e7992877bd1e5a767f762b1ac (patch)
tree46c40ac34c66782ce6441ddab959c2461230c4bb /src/devices/cpu/pps4
parent82a3d44cbe6d013a8e878cafc01e4b5caea03b38 (diff)
(nw) fix lots of inadverently mutable static pointers
Diffstat (limited to 'src/devices/cpu/pps4')
-rw-r--r--src/devices/cpu/pps4/pps4dasm.cpp4
-rw-r--r--src/devices/cpu/pps4/pps4dasm.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/pps4/pps4dasm.cpp b/src/devices/cpu/pps4/pps4dasm.cpp
index edb15db12b3..d14912385c8 100644
--- a/src/devices/cpu/pps4/pps4dasm.cpp
+++ b/src/devices/cpu/pps4/pps4dasm.cpp
@@ -13,7 +13,7 @@
#include "emu.h"
#include "pps4dasm.h"
-const char *pps4_disassembler::token_str[t_COUNT] = {
+char const *const pps4_disassembler::token_str[t_COUNT] = {
"ad", /* add */
"adc", /* add with carry-in */
"adsk", /* add and skip on carry-out */
@@ -66,7 +66,7 @@ const char *pps4_disassembler::token_str[t_COUNT] = {
"sag" /* special address generation */
};
-const uint16_t pps4_disassembler::table[] = {
+uint16_t const pps4_disassembler::table[] = {
/* 00 */ t_LBL | t_I8c,
/* 01 */ t_TML | t_I4 | t_I8,
/* 02 */ t_TML | t_I4 | t_I8,
diff --git a/src/devices/cpu/pps4/pps4dasm.h b/src/devices/cpu/pps4/pps4dasm.h
index 7e0f0ab9b91..04bfa732144 100644
--- a/src/devices/cpu/pps4/pps4dasm.h
+++ b/src/devices/cpu/pps4/pps4dasm.h
@@ -51,8 +51,8 @@ private:
t_OUT = 1 << 15 /* Debugger step out (RETURN) */
} pps4_token_e;
- static const char *token_str[t_COUNT];
- static const uint16_t table[];
+ static char const *const token_str[t_COUNT];
+ static uint16_t const table[];
};