summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/c6280.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/c6280.h')
-rw-r--r--src/devices/sound/c6280.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/devices/sound/c6280.h b/src/devices/sound/c6280.h
index 5b7f94bce7f..0cfdc34799b 100644
--- a/src/devices/sound/c6280.h
+++ b/src/devices/sound/c6280.h
@@ -8,6 +8,8 @@
class c6280_device : public device_t, public device_sound_interface
{
public:
+ static constexpr feature_type imperfect_features() { return feature::SOUND; } // Incorrect / Not verified noise / LFO output
+
c6280_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// write only
@@ -22,8 +24,6 @@ protected:
virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) override;
private:
- void calculate_clocks();
-
struct channel {
uint16_t m_frequency;
uint8_t m_control;
@@ -32,8 +32,9 @@ private:
uint8_t m_index;
int16_t m_dda;
uint8_t m_noise_control;
- uint32_t m_noise_counter;
+ int32_t m_noise_counter;
uint32_t m_counter;
+ int32_t m_tick;
};
// internal state
@@ -44,8 +45,6 @@ private:
uint8_t m_lfo_control;
channel m_channel[8];
int16_t m_volume_table[32];
- uint32_t m_noise_freq_tab[32];
- uint32_t m_wave_freq_tab[4096];
};
DECLARE_DEVICE_TYPE(C6280, c6280_device)