summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/sms_ctrl/graphic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/sms_ctrl/graphic.h')
-rw-r--r--src/devices/bus/sms_ctrl/graphic.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/sms_ctrl/graphic.h b/src/devices/bus/sms_ctrl/graphic.h
index 921e96b75d6..036f4660033 100644
--- a/src/devices/bus/sms_ctrl/graphic.h
+++ b/src/devices/bus/sms_ctrl/graphic.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_SMS_CTRL_GRAPHIC_H
+#define MAME_BUS_SMS_CTRL_GRAPHIC_H
-#ifndef __SMS_GRAPHIC__
-#define __SMS_GRAPHIC__
+#pragma once
#include "smsctrl.h"
@@ -52,7 +52,7 @@ private:
// device type definition
-extern const device_type SMS_GRAPHIC;
+DECLARE_DEVICE_TYPE(SMS_GRAPHIC, sms_graphic_device)
-#endif
+#endif // MAME_BUS_SMS_CTRL_GRAPHIC_H