summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/c64/cpm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/c64/cpm.h')
-rw-r--r--src/devices/bus/c64/cpm.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/c64/cpm.h b/src/devices/bus/c64/cpm.h
index 603465bae88..88e4c172da8 100644
--- a/src/devices/bus/c64/cpm.h
+++ b/src/devices/bus/c64/cpm.h
@@ -6,13 +6,13 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_C64_CPM_H
+#define MAME_BUS_C64_CPM_H
-#ifndef __CPM__
-#define __CPM__
+#pragma once
-#include "cpu/z80/z80.h"
#include "exp.h"
+#include "cpu/z80/z80.h"
@@ -58,7 +58,7 @@ private:
// device type definition
-extern const device_type C64_CPM;
+DECLARE_DEVICE_TYPE(C64_CPM, c64_cpm_cartridge_device)
-#endif
+#endif // MAME_BUS_C64_CPM_H