summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/gaelco.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/gaelco.h')
-rw-r--r--src/devices/sound/gaelco.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/devices/sound/gaelco.h b/src/devices/sound/gaelco.h
index f670eaf0c70..01fcae1c8dc 100644
--- a/src/devices/sound/gaelco.h
+++ b/src/devices/sound/gaelco.h
@@ -7,28 +7,16 @@
//**************************************************************************
-// INTERFACE CONFIGURATION MACROS
-//**************************************************************************
-
-#define MCFG_GAELCO_SND_DATA(_tag) \
- downcast<gaelco_gae1_device &>(*device).set_snd_data_tag(_tag);
-
-#define MCFG_GAELCO_BANKS(_offs1, _offs2, _offs3, _offs4) \
- downcast<gaelco_gae1_device &>(*device).set_bank_offsets(_offs1, _offs2, _offs3, _offs4);
-
-
-//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
-
// ======================> gaelco_gae1_device
class gaelco_gae1_device : public device_t,
public device_sound_interface
{
public:
- gaelco_gae1_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ gaelco_gae1_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
void set_snd_data_tag(const char *tag) { m_snd_data.set_tag(tag); }
void set_bank_offsets(int offs1, int offs2, int offs3, int offs4)
@@ -83,7 +71,7 @@ DECLARE_DEVICE_TYPE(GAELCO_GAE1, gaelco_gae1_device)
class gaelco_cg1v_device : public gaelco_gae1_device
{
public:
- gaelco_cg1v_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ gaelco_cg1v_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
};
DECLARE_DEVICE_TYPE(GAELCO_CG1V, gaelco_cg1v_device)