diff options
Diffstat (limited to 'src/emu/sound/3812intf.c')
-rw-r--r-- | src/emu/sound/3812intf.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/emu/sound/3812intf.c b/src/emu/sound/3812intf.c index 0a7de119ca2..7bcf0949ca7 100644 --- a/src/emu/sound/3812intf.c +++ b/src/emu/sound/3812intf.c @@ -24,9 +24,9 @@ struct ym3812_state { - sound_stream * stream; - emu_timer * timer[2]; - void * chip; + sound_stream * stream; + emu_timer * timer[2]; + void * chip; const ym3812_interface *intf; device_t *device; }; @@ -62,11 +62,11 @@ static void TimerHandler(void *param,int c,attotime period) { ym3812_state *info = (ym3812_state *)param; if( period == attotime::zero ) - { /* Reset FM Timer */ + { /* Reset FM Timer */ info->timer[c]->enable(false); } else - { /* Start FM Timer */ + { /* Start FM Timer */ info->timer[c]->adjust(period); } } @@ -144,7 +144,7 @@ const device_type YM3812 = &device_creator<ym3812_device>; ym3812_device::ym3812_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, YM3812, "YM3812", tag, owner, clock), - device_sound_interface(mconfig, *this) + device_sound_interface(mconfig, *this) { m_token = global_alloc_clear(ym3812_state); } @@ -195,5 +195,3 @@ void ym3812_device::sound_stream_update(sound_stream &stream, stream_sample_t ** // should never get here fatalerror("sound_stream_update called; not applicable to legacy sound devices\n"); } - - |