summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debughlp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/debug/debughlp.cpp')
-rw-r--r--src/emu/debug/debughlp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/debug/debughlp.cpp b/src/emu/debug/debughlp.cpp
index e3106c647e5..473de3249ce 100644
--- a/src/emu/debug/debughlp.cpp
+++ b/src/emu/debug/debughlp.cpp
@@ -1637,7 +1637,7 @@ const char *debug_get_help(const char *tag)
size_t taglen = strlen(tag);
/* find a match */
- for (i = 0; i < ARRAY_LENGTH(static_help_list); i++)
+ for (i = 0; i < std::size(static_help_list); i++)
if (!core_strnicmp(static_help_list[i].tag, tag, taglen))
{
foundcount++;
@@ -1659,7 +1659,7 @@ const char *debug_get_help(const char *tag)
/* otherwise, indicate ambiguous help */
msglen = sprintf(ambig_message, "Ambiguous help request, did you mean:\n");
- for (i = 0; i < ARRAY_LENGTH(static_help_list); i++)
+ for (i = 0; i < std::size(static_help_list); i++)
if (!core_strnicmp(static_help_list[i].tag, tag, taglen))
msglen += sprintf(&ambig_message[msglen], " help %s?\n", static_help_list[i].tag);
return ambig_message;