diff options
Diffstat (limited to 'src/devices/sound/gb.cpp')
-rw-r--r-- | src/devices/sound/gb.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/devices/sound/gb.cpp b/src/devices/sound/gb.cpp index c65b3872d00..c662d456ef6 100644 --- a/src/devices/sound/gb.cpp +++ b/src/devices/sound/gb.cpp @@ -170,6 +170,16 @@ void gameboy_sound_device::device_start() //------------------------------------------------- +// device_clock_changed +//------------------------------------------------- + +void gameboy_sound_device::device_clock_changed() +{ + m_timer->adjust(clocks_to_attotime(FRAME_CYCLES / 128), 0, clocks_to_attotime(FRAME_CYCLES / 128)); +} + + +//------------------------------------------------- // device_reset //------------------------------------------------- |