summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2023-03-27 16:39:37 +1100
committer Vas Crabb <vas@vastheman.com>2023-03-27 16:39:37 +1100
commitd2f8af5301637a78095b3032d0a60c70eb089ae0 (patch)
tree56a4fa977f9d3fe44ba8a3fe0f681ce7dcc7800a /src
parent794a3d0ed93f26d82f7b54c2c199d9a9a9ebd84e (diff)
emu/profiler.cpp: Disable assertion that profiler isn't enabled/disabled with profile scope active.
Diffstat (limited to 'src')
-rw-r--r--src/emu/profiler.cpp3
1 files changed, 2 insertions, 1 deletions
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;