summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6502/n2a03.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6502/n2a03.h')
-rw-r--r--src/devices/cpu/m6502/n2a03.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/cpu/m6502/n2a03.h b/src/devices/cpu/m6502/n2a03.h
index 3f406af15e9..54fc137c8e6 100644
--- a/src/devices/cpu/m6502/n2a03.h
+++ b/src/devices/cpu/m6502/n2a03.h
@@ -7,9 +7,10 @@
6502, NES variant
***************************************************************************/
+#ifndef MAME_CPU_M6502_N2A03_H
+#define MAME_CPU_M6502_N2A03_H
-#ifndef __N2A03_H__
-#define __N2A03_H__
+#pragma once
#include "m6502.h"
#include "sound/nes_apu.h"
@@ -89,6 +90,6 @@ enum {
N2A03_SET_OVERFLOW = m6502_device::V_LINE
};
-extern const device_type N2A03;
+DECLARE_DEVICE_TYPE(N2A03, n2a03_device)
-#endif
+#endif // MAME_CPU_M6502_N2A03_H