summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/sh2/sh2dasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/sh2/sh2dasm.c')
-rw-r--r--src/emu/cpu/sh2/sh2dasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/sh2/sh2dasm.c b/src/emu/cpu/sh2/sh2dasm.c
index 8d66e230b99..91854338b03 100644
--- a/src/emu/cpu/sh2/sh2dasm.c
+++ b/src/emu/cpu/sh2/sh2dasm.c
@@ -7,7 +7,7 @@
#define Rn ((opcode >> 8) & 15)
#define Rm ((opcode >> 4) & 15)
-static const char *regname[16] = {
+static const char *const regname[16] = {
"R0", "R1", "R2", "R3", "R4", "R5", "R6", "R7",
"R8", "R9", "R10","R11","R12","R13","R14","SP"
};