diff options
Diffstat (limited to 'src/emu/machine/6840ptm.h')
-rw-r--r-- | src/emu/machine/6840ptm.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/emu/machine/6840ptm.h b/src/emu/machine/6840ptm.h index e4f86f86987..f038ba6981f 100644 --- a/src/emu/machine/6840ptm.h +++ b/src/emu/machine/6840ptm.h @@ -9,12 +9,14 @@ #ifndef __6840PTM_H__ #define __6840PTM_H__ +#include "devlegcy.h" + /*************************************************************************** MACROS / CONSTANTS ***************************************************************************/ -#define PTM6840 DEVICE_GET_INFO_NAME(ptm6840) +DECLARE_LEGACY_DEVICE(PTM6840, ptm6840); #define MDRV_PTM6840_ADD(_tag, _config) \ MDRV_DEVICE_ADD(_tag, PTM6840, 0) \ @@ -41,9 +43,6 @@ struct _ptm6840_interface PROTOTYPES ***************************************************************************/ -/* device interface */ -DEVICE_GET_INFO( ptm6840 ); - int ptm6840_get_status( running_device *device, int clock ); // get whether timer is enabled int ptm6840_get_irq( running_device *device ); // get IRQ state UINT16 ptm6840_get_count( running_device *device, int counter );// get counter value |