summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu
diff options
context:
space:
mode:
author Felipe CorrĂȘa da Silva Sanches <fsanches@metamaquina.com.br>2016-02-20 13:15:39 -0200
committer Felipe CorrĂȘa da Silva Sanches <fsanches@metamaquina.com.br>2016-02-20 13:15:39 -0200
commitcb8d5e410c0384aab44e970b49e1fabf5aa1e209 (patch)
treef11ed0c1e29f178ce1fd859cbaac24e9a5e9b154 /src/devices/cpu
parentfbe6e5440067c5a350521d903a7f5e08d0dace33 (diff)
[h8 cpu] fix a typo in the array length of the register names string
Diffstat (limited to 'src/devices/cpu')
-rw-r--r--src/devices/cpu/h8/h8.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/h8/h8.cpp b/src/devices/cpu/h8/h8.cpp
index bc78626b00b..ba8b853e9ec 100644
--- a/src/devices/cpu/h8/h8.cpp
+++ b/src/devices/cpu/h8/h8.cpp
@@ -281,7 +281,7 @@ void h8_device::disassemble_am(char *&buffer, int am, offs_t pc, const UINT8 *op
"e0", "e1", "e2", "e3", "e4", "e5", "e6", "e7",
};
- static const char *const r32_names[88] = {
+ static const char *const r32_names[8] = {
"er0", "er1", "er2", "er3", "er4", "er5", "er6", "sp",
};