From d49ea91e69b0406f3fc2de6034819498661dd93a Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 21 Jun 2013 11:29:19 +0000 Subject: [PATCH] small fix (nw) --- src/emu/sound/samples.c | 4 ++-- src/emu/sound/samples.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/emu/sound/samples.c b/src/emu/sound/samples.c index 319734e3f8c..298d561bec9 100644 --- a/src/emu/sound/samples.c +++ b/src/emu/sound/samples.c @@ -80,8 +80,8 @@ samples_device::samples_device(const machine_config &mconfig, const char *tag, d { } -samples_device::samples_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, type, name, tag, owner, clock), +samples_device::samples_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) + : device_t(mconfig, type, name, tag, owner, clock, shortname, source), device_sound_interface(mconfig, *this) { } diff --git a/src/emu/sound/samples.h b/src/emu/sound/samples.h index 94055d46316..0a5e1b929cf 100644 --- a/src/emu/sound/samples.h +++ b/src/emu/sound/samples.h @@ -118,7 +118,7 @@ public: protected: // subclasses can do it this way - samples_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); + samples_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); // device-level overrides virtual void device_start();