From f83b89cd74265a31b1ca76fa3757e8dd305afbcc Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 29 Dec 2024 10:56:34 -0500 Subject: cpu/uml.h: Fix debug build error: invalid use of member 'm_numparams' in static member function --- src/devices/cpu/uml.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/cpu/uml.h b/src/devices/cpu/uml.h index 7c8ae800acf..9ab3b382b07 100644 --- a/src/devices/cpu/uml.h +++ b/src/devices/cpu/uml.h @@ -398,7 +398,7 @@ namespace uml // construction/destruction constexpr instruction() : m_param{ } { } - static bool is_param_out(opcode_t opcode, int paramnum) { assert(opcode < OP_MAX); assert(paramnum < m_numparams); return (s_opcode_info_table[opcode].param[paramnum].output & 0x02) != 0; } + bool is_param_out(opcode_t opcode, int paramnum) const { assert(opcode < OP_MAX); assert(paramnum < m_numparams); return (s_opcode_info_table[opcode].param[paramnum].output & 0x02) != 0; } // getters constexpr opcode_t opcode() const { return m_opcode; } -- cgit v1.2.3