summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/2151intf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/2151intf.h')
-rw-r--r--src/emu/sound/2151intf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/emu/sound/2151intf.h b/src/emu/sound/2151intf.h
index f20963e8386..214e6206935 100644
--- a/src/emu/sound/2151intf.h
+++ b/src/emu/sound/2151intf.h
@@ -3,6 +3,8 @@
#ifndef __2151INTF_H__
#define __2151INTF_H__
+#include "devlegcy.h"
+
typedef struct _ym2151_interface ym2151_interface;
struct _ym2151_interface
{
@@ -17,7 +19,6 @@ READ8_DEVICE_HANDLER( ym2151_status_port_r );
WRITE8_DEVICE_HANDLER( ym2151_register_port_w );
WRITE8_DEVICE_HANDLER( ym2151_data_port_w );
-DEVICE_GET_INFO( ym2151 );
-#define SOUND_YM2151 DEVICE_GET_INFO_NAME( ym2151 )
+DECLARE_LEGACY_SOUND_DEVICE(YM2151, ym2151);
#endif /* __2151INTF_H__ */