summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/iq151/video64.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/iq151/video64.h')
-rw-r--r--src/devices/bus/iq151/video64.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/bus/iq151/video64.h b/src/devices/bus/iq151/video64.h
index 773f71cd7d6..7b152fc8fd6 100644
--- a/src/devices/bus/iq151/video64.h
+++ b/src/devices/bus/iq151/video64.h
@@ -1,9 +1,9 @@
// license:BSD-3-Clause
// copyright-holders:Sandro Ronco
-#pragma once
+#ifndef MAME_BUS_IQ151_VIDEO64_H
+#define MAME_BUS_IQ151_VIDEO64_H
-#ifndef __IQ151_VIDEO64_H__
-#define __IQ151_VIDEO64_H__
+#pragma once
#include "iq151.h"
@@ -37,12 +37,12 @@ protected:
virtual void video_update(bitmap_ind16 &bitmap, const rectangle &cliprect) override;
private:
- uint8_t * m_videoram;
- uint8_t * m_chargen;
+ required_region_ptr<uint8_t> m_videoram;
+ required_region_ptr<uint8_t> m_chargen;
};
// device type definition
-extern const device_type IQ151_VIDEO64;
+DECLARE_DEVICE_TYPE(IQ151_VIDEO64, iq151_video64_device)
-#endif /* __IQ151_VIDEO64_H__ */
+#endif // MAME_BUS_IQ151_VIDEO64_H