summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2026-02-04 16:10:42 +0100
committer hap <happppp@users.noreply.github.com>2026-02-04 16:10:53 +0100
commit4b850b46abfb9fc2ed28eefdca7d33fe4870ae32 (patch)
treedfade0a42178e47ff9b8654d70aab81d1c06b9dc /src/emu
parentcd51c673191836d1c8f86f97ec2523ec2a6d5a9b (diff)
sound: alternate method for checking if machine is not yet running
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/sound.cpp b/src/emu/sound.cpp
index 69088ed8463..77eb0ab6118 100644
--- a/src/emu/sound.cpp
+++ b/src/emu/sound.cpp
@@ -588,7 +588,7 @@ u64 sound_stream::get_current_sample_index() const
void sound_stream::update()
{
- if(!is_active() || m_in_update || m_device.machine().phase() <= machine_phase::RESET)
+ if(!is_active() || m_in_update || m_device.machine().time().is_zero())
return;
// Find out where we are and how much we have to do
@@ -610,7 +610,7 @@ void sound_stream::update()
void sound_stream::update_nodeps()
{
- if(!is_active() || m_in_update || m_device.machine().phase() <= machine_phase::RESET)
+ if(!is_active() || m_in_update || m_device.machine().time().is_zero())
return;
// Find out where we are and how much we have to do