diff options
author | Miodrag Milanović <mmicko@gmail.com> | 2016-02-20 16:23:14 +0100 |
---|---|---|
committer | Miodrag Milanović <mmicko@gmail.com> | 2016-02-20 16:23:14 +0100 |
commit | 1a4f73d32fb5ae7fb126fde7bcda76c4d69c18cf (patch) | |
tree | 074aa05467fc520ecfd47f6a39a03d65ca740ee3 /src/devices/cpu | |
parent | 4a5cc0d71f2b7bb18c6ba2cc3ad8192d469e831b (diff) | |
parent | cb8d5e410c0384aab44e970b49e1fabf5aa1e209 (diff) |
Merge pull request #629 from felipesanches/fix_h8_cpu_regnames_string_array_size
[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.cpp | 2 |
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", }; |