summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/2612intf.h
diff options
context:
space:
mode:
author cam900 <dbtlrchl@naver.com>2020-01-14 12:56:50 +0900
committer R. Belmont <rb6502@users.noreply.github.com>2020-01-13 22:56:50 -0500
commitfe14c344fcdb227159e89c1483a79c93391b3e75 (patch)
tree39f73be3e862ca72358d7b5f95bf0ae31ebff3b6 /src/devices/sound/2612intf.h
parentecf81faba9076d113795c3c80223e64a77191bdb (diff)
YM2612 output updates, Add some Mega drive variations (#6150)
* 2612intf.cpp : Fix output bits, Device-fied YMF276, Add notes fm2612.cpp : Add output bit variation fmtowns.cpp : Add YMF276 placeholder for later model use this megadriv.cpp : Add config for when YM3438 is integreated in ASIC, Add handheld variations, Fix PAL sound clock * megadriv.cpp : Fix clock
Diffstat (limited to 'src/devices/sound/2612intf.h')
-rw-r--r--src/devices/sound/2612intf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/devices/sound/2612intf.h b/src/devices/sound/2612intf.h
index eceb0ce4e6e..1bbf9ea3bf9 100644
--- a/src/devices/sound/2612intf.h
+++ b/src/devices/sound/2612intf.h
@@ -35,6 +35,7 @@ protected:
// sound stream update overrides
virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) override;
+ u8 m_output_bits;
private:
void irq_handler(int irq);
void timer_handler(int c, int count, int clock);
@@ -59,7 +60,15 @@ public:
};
+class ymf276_device : public ym2612_device
+{
+public:
+ ymf276_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+};
+
+
DECLARE_DEVICE_TYPE(YM2612, ym2612_device)
DECLARE_DEVICE_TYPE(YM3438, ym3438_device)
+DECLARE_DEVICE_TYPE(YMF276, ymf276_device)
#endif // MAME_SOUND_2612INTF_H