diff options
Diffstat (limited to 'src/devices/cpu/m6502/m8502.h')
-rw-r--r-- | src/devices/cpu/m6502/m8502.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/cpu/m6502/m8502.h b/src/devices/cpu/m6502/m8502.h index 4967f8379bc..bc52b45ef2c 100644 --- a/src/devices/cpu/m6502/m8502.h +++ b/src/devices/cpu/m6502/m8502.h @@ -7,9 +7,10 @@ 6510 derivative, capable of running at 2MHz. ***************************************************************************/ +#ifndef MAME_CPU_M6502_M8502_H +#define MAME_CPU_M6502_M8502_H -#ifndef __M8502_H__ -#define __M8502_H__ +#pragma once #include "m6510.h" @@ -29,6 +30,6 @@ enum { M8502_NMI_LINE = m6502_device::NMI_LINE }; -extern const device_type M8502; +DECLARE_DEVICE_TYPE(M8502, m8502_device) -#endif +#endif // MAME_CPU_M6502_M8502_H |