summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/profiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/profiler.h')
-rw-r--r--src/emu/profiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/profiler.h b/src/emu/profiler.h
index cff0801f65c..8341e075eae 100644
--- a/src/emu/profiler.h
+++ b/src/emu/profiler.h
@@ -117,7 +117,7 @@ private:
ATTR_FORCE_INLINE void real_start(profile_type type)
{
// fail if we overflow
- if (m_filoptr >= &m_filo[ARRAY_LENGTH(m_filo) - 1])
+ if (m_filoptr >= &m_filo[std::size(m_filo) - 1])
throw emu_fatalerror("Profiler FILO overflow (type = %d)\n", type);
// get current tick count