From d2f8af5301637a78095b3032d0a60c70eb089ae0 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Mon, 27 Mar 2023 16:39:37 +1100 Subject: [PATCH] emu/profiler.cpp: Disable assertion that profiler isn't enabled/disabled with profile scope active. --- src/emu/profiler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/emu/profiler.cpp b/src/emu/profiler.cpp index da310b851a4..19f3908f097 100644 --- a/src/emu/profiler.cpp +++ b/src/emu/profiler.cpp @@ -91,7 +91,8 @@ real_profiler_state::real_profiler_state() void real_profiler_state::reset(bool enabled) noexcept { - assert(!m_filoptr || (m_filoptr == m_filo)); + // disabling the profiler from the UI happens while PROFILER_EXTRA is active + //assert(!m_filoptr || (m_filoptr == m_filo)); m_text_time = attotime::never;