diff options
Diffstat (limited to 'src/emu/sound/cdp1863.h')
-rw-r--r-- | src/emu/sound/cdp1863.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/emu/sound/cdp1863.h b/src/emu/sound/cdp1863.h index 042e6db0111..0c291cb75ab 100644 --- a/src/emu/sound/cdp1863.h +++ b/src/emu/sound/cdp1863.h @@ -21,16 +21,16 @@ #ifndef __CDP1863__ #define __CDP1863__ +#include "devlegcy.h" + /*************************************************************************** MACROS / CONSTANTS ***************************************************************************/ -#define CDP1863 DEVICE_GET_INFO_NAME(cdp1863) -#define SOUND_CDP1863 CDP1863 +DECLARE_LEGACY_SOUND_DEVICE(CDP1863, cdp1863); #define MDRV_CDP1863_ADD(_tag, _clock1, _clock2) \ MDRV_DEVICE_ADD(_tag, SOUND, _clock1) \ - MDRV_DEVICE_CONFIG_DATAPTR(cdp1863_config, type, SOUND_CDP1863) \ MDRV_DEVICE_CONFIG_DATA32(cdp1863_config, clock2, _clock2) #define CDP1863_INTERFACE(name) \ @@ -43,8 +43,6 @@ typedef struct _cdp1863_config cdp1863_config; struct _cdp1863_config { - const sound_config *type; - int clock2; /* the clock 2 (pin 2) of the chip */ }; @@ -52,9 +50,6 @@ struct _cdp1863_config PROTOTYPES ***************************************************************************/ -/* device interface */ -DEVICE_GET_INFO( cdp1863 ); - /* load tone latch */ WRITE8_DEVICE_HANDLER( cdp1863_str_w ); |