summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/fm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/fm.cpp')
-rw-r--r--src/devices/sound/fm.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/devices/sound/fm.cpp b/src/devices/sound/fm.cpp
index 9213e230b88..169e9239ee1 100644
--- a/src/devices/sound/fm.cpp
+++ b/src/devices/sound/fm.cpp
@@ -3011,6 +3011,14 @@ void * ym2608_init(device_t *device, int clock, int rate, void *pcmrom,int pcmsi
return F2608;
}
+void ym2608_clock_changed(void *chip, int clock, int rate)
+{
+ ym2608_state *F2608 = (ym2608_state *)chip;
+
+ F2608->OPN.ST.clock = clock;
+ F2608->OPN.ST.rate = rate;
+}
+
/* shut down emulator */
void ym2608_shutdown(void *chip)
{