summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/c64/supercpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/c64/supercpu.h')
-rw-r--r--src/devices/bus/c64/supercpu.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/devices/bus/c64/supercpu.h b/src/devices/bus/c64/supercpu.h
index 3db47899c01..c3c0308d471 100644
--- a/src/devices/bus/c64/supercpu.h
+++ b/src/devices/bus/c64/supercpu.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_C64_SUPERCPU_H
+#define MAME_BUS_C64_SUPERCPU_H
-#ifndef __SUPERCPU__
-#define __SUPERCPU__
+#pragma once
#include "exp.h"
#include "cpu/g65816/g65816.h"
@@ -55,8 +55,7 @@ private:
// device type definition
-extern const device_type C64_SUPERCPU;
-
+DECLARE_DEVICE_TYPE(C64_SUPERCPU, c64_supercpu_device)
-#endif
+#endif // MAME_BUS_C64_SUPERCPU_H