summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/x2212.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/x2212.h')
-rw-r--r--src/emu/machine/x2212.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/emu/machine/x2212.h b/src/emu/machine/x2212.h
index ab3ce81d5d7..41940d706d8 100644
--- a/src/emu/machine/x2212.h
+++ b/src/emu/machine/x2212.h
@@ -8,12 +8,13 @@
#if !defined( X2212_H )
#define X2212_H ( 1 )
+#include "devlegcy.h"
+
/* default nvram contents should be in memory region
* with the same tag as device.
*/
-#define X2212 DEVICE_GET_INFO_NAME(x2212)
-DEVICE_GET_INFO(x2212);
+DECLARE_LEGACY_NVRAM_DEVICE(X2212, x2212);
#define MDRV_X2212_ADD(_tag) \
MDRV_DEVICE_ADD(_tag, X2212, 0)