summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/vic20/megacart.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/vic20/megacart.h')
-rw-r--r--src/devices/bus/vic20/megacart.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/devices/bus/vic20/megacart.h b/src/devices/bus/vic20/megacart.h
index 8a35c468adb..a4de69ea228 100644
--- a/src/devices/bus/vic20/megacart.h
+++ b/src/devices/bus/vic20/megacart.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_VIC20_MEGACART_H
+#define MAME_BUS_VIC20_MEGACART_H
-#ifndef __VIC20_MEGACART__
-#define __VIC20_MEGACART__
+#pragma once
#include "exp.h"
@@ -52,8 +52,6 @@ private:
// device type definition
-extern const device_type VIC20_MEGACART;
-
-
+DECLARE_DEVICE_TYPE(VIC20_MEGACART, vic20_megacart_device)
-#endif
+#endif // MAME_BUS_VIC20_MEGACART_H