summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gimix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gimix.cpp')
-rw-r--r--src/mame/drivers/gimix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/gimix.cpp b/src/mame/drivers/gimix.cpp
index c3fdc7e3661..57e9c0e3624 100644
--- a/src/mame/drivers/gimix.cpp
+++ b/src/mame/drivers/gimix.cpp
@@ -721,7 +721,7 @@ offs_t gimix_state::os9_dasm_override(std::ostream &stream, offs_t pc, const uti
if ((opcodes.r8(pc) == 0x10) && (opcodes.r8(pc+1) == 0x3F))
{
call = opcodes.r8(pc+2);
- if ((call < ARRAY_LENGTH(os9syscalls)) && (os9syscalls[call] != nullptr))
+ if ((call < std::size(os9syscalls)) && (os9syscalls[call] != nullptr))
{
util::stream_format(stream, "OS9 %s", os9syscalls[call]);
result = 3;