summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/huc6261.h
diff options
context:
space:
mode:
author angelosa <salese_corp_ltd@email.it>2017-01-27 02:42:22 +0100
committer angelosa <salese_corp_ltd@email.it>2017-01-27 19:36:19 +0100
commit7153b2a49e00c20570fa33bbfb1d0c019725792d (patch)
treece9339d1486875044c673c9d950fda69478025e4 /src/devices/video/huc6261.h
parent150493120332dd6936e6a1c907ec3b266d651c94 (diff)
Device hookups (nw)
Diffstat (limited to 'src/devices/video/huc6261.h')
-rw-r--r--src/devices/video/huc6261.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/devices/video/huc6261.h b/src/devices/video/huc6261.h
index c62e5a1a296..f1101397744 100644
--- a/src/devices/video/huc6261.h
+++ b/src/devices/video/huc6261.h
@@ -12,7 +12,7 @@
#include "emu.h"
#include "video/huc6270.h"
-
+#include "video/huc6272.h"
/* Screen timing stuff */
#define HUC6261_WPF 1365 /* width of a line in frame including blanking areas */
@@ -25,6 +25,9 @@
#define MCFG_HUC6261_VDC2(_tag) \
huc6261_device::set_vdc2_tag(*device, _tag);
+#define MCFG_HUC6261_KING(_tag) \
+ huc6261_device::set_king_tag(*device, _tag);
+
class huc6261_device : public device_t,
public device_video_interface
@@ -35,6 +38,7 @@ public:
static void set_vdc1_tag(device_t &device, const char *tag) { downcast<huc6261_device &>(device).m_huc6270_a_tag = tag; }
static void set_vdc2_tag(device_t &device, const char *tag) { downcast<huc6261_device &>(device).m_huc6270_b_tag = tag; }
+ static void set_king_tag(device_t &device, const char *tag) { downcast<huc6261_device &>(device).m_huc6272_tag = tag; }
void video_update(bitmap_rgb32 &bitmap, const rectangle &cliprect);
DECLARE_READ16_MEMBER( read );
@@ -49,9 +53,11 @@ protected:
private:
const char *m_huc6270_a_tag;
const char *m_huc6270_b_tag;
+ const char *m_huc6272_tag;
huc6270_device *m_huc6270_a;
huc6270_device *m_huc6270_b;
+ huc6272_device *m_huc6272;
int m_last_h;
int m_last_v;
int m_height;