summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/latch8.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/latch8.h')
-rw-r--r--src/emu/machine/latch8.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/emu/machine/latch8.h b/src/emu/machine/latch8.h
index 7db1e67b18c..b4a376b1016 100644
--- a/src/emu/machine/latch8.h
+++ b/src/emu/machine/latch8.h
@@ -15,7 +15,9 @@
#ifndef __LATCH8_H_
#define __LATCH8_H_
-#define LATCH8 DEVICE_GET_INFO_NAME(latch8)
+#include "devlegcy.h"
+
+DECLARE_LEGACY_DEVICE(LATCH8, latch8);
/***************************************************************************
TYPE DEFINITIONS
@@ -93,9 +95,6 @@ struct _latch8_config
#define AM_LATCH8_READWRITE(_tag) \
AM_DEVREADWRITE(_tag, latch8_r, latch8_w)
-/* device interface */
-DEVICE_GET_INFO( latch8 );
-
/* write & read full byte */
READ8_DEVICE_HANDLER( latch8_r );