diff options
Diffstat (limited to 'src/devices/sound/ymf271.h')
-rw-r--r-- | src/devices/sound/ymf271.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/sound/ymf271.h b/src/devices/sound/ymf271.h index aab5763f597..b9302f8f082 100644 --- a/src/devices/sound/ymf271.h +++ b/src/devices/sound/ymf271.h @@ -33,6 +33,7 @@ protected: virtual void device_start() override; virtual void device_reset() override; virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override; + virtual void device_clock_changed() override; // sound stream update overrides virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) override; @@ -98,6 +99,7 @@ private: void init_state(); void init_tables(); + void calculate_clock_correction(); void calculate_step(YMF271Slot *slot); void update_envelope(YMF271Slot *slot); void init_envelope(YMF271Slot *slot); @@ -147,7 +149,6 @@ private: optional_region_ptr<uint8_t> m_mem_base; uint32_t m_mem_size; - uint32_t m_clock; emu_timer *m_timA; emu_timer *m_timB; |