summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/psx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/psx.h')
-rw-r--r--src/emu/sound/psx.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/emu/sound/psx.h b/src/emu/sound/psx.h
index 7444048b670..ff69fd43fd7 100644
--- a/src/emu/sound/psx.h
+++ b/src/emu/sound/psx.h
@@ -11,6 +11,8 @@
#ifndef __SOUND_PSX_H__
#define __SOUND_PSX_H__
+#include "devlegcy.h"
+
WRITE32_DEVICE_HANDLER( psx_spu_w );
READ32_DEVICE_HANDLER( psx_spu_r );
WRITE32_DEVICE_HANDLER( psx_spu_delay_w );
@@ -27,7 +29,6 @@ struct _psx_spu_interface
void (*spu_install_write_handler)(int,spu_handler);
};
-DEVICE_GET_INFO( psxspu );
-#define SOUND_PSXSPU DEVICE_GET_INFO_NAME( psxspu )
+DECLARE_LEGACY_SOUND_DEVICE(PSXSPU, psxspu);
#endif /* __SOUND_PSX_H__ */