There's another change applied to sound.cpp and sound.h cocerning sound management that makes GM different from baseline:
diff -Nru src/emu/sound.cpp src/emu/sound.cpp
--- src/emu/sound.cpp 2017-12-27 11:15:53.000000000 +0100
+++ src/emu/sound.cpp 2017-12-27 17:42:08.000000000 +0100
@@ -841,16 +841,13 @@
machine.add_notifier(MACHINE_NOTIFY_RESUME, machine_notify_delegate(&sound_manager::resume, this));
machine.add_notifier(MACHINE_NOTIFY_RESET, machine_notify_delegate(&sound_manager::reset, this));
machine.add_notifier(MACHINE_NOTIFY_EXIT, machine_notify_delegate(&sound_manager::stop_recording, this));
+ machine.add_notifier(MACHINE_NOTIFY_FRAME, machine_notify_delegate(&sound_manager::update, this));
// register global states
machine.save().save_item(NAME(m_last_update));
// set the starting attenuation
set_attenuation(machine.options().volume());
-
- // start the periodic update flushing timer
- m_update_timer = machine.scheduler().timer_alloc(timer_expired_delegate(FUNC(sound_manager::update), this));
- m_update_timer->adjust(STREAMS_UPDATE_ATTOTIME, 0, STREAMS_UPDATE_ATTOTIME);
}
@@ -1052,7 +1049,7 @@
// and send it to the OSD layer
//-------------------------------------------------
-void sound_manager::update(void *ptr, int param)
+void sound_manager::update()
{
VPRINTF(("sound_update\n"));
...and
--- src/emu/sound.h 2017-12-27 11:15:53.000000000 +0100
+++ src/emu/sound.h 2017-12-27 17:42:08.000000000 +0100
@@ -223,7 +223,7 @@
void config_load(config_type cfg_type, util::xml::data_node const *parentnode);
void config_save(config_type cfg_type, util::xml::data_node *parentnode);
- void update(void *ptr = nullptr, s32 param = 0);
+ void update();
// internal state
running_machine & m_machine; // reference to our machine
Other than that, GM and baseline are the same thing.