summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/pcecommn.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-03-17 10:02:08 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-03-17 10:02:08 +0000
commit5e8e5629e3f8cbf7b6aa39e6bb886d02e0c2bcb9 (patch)
treeac30a15dd82e03fb45c22787f5b57f08d9711242 /src/mame/machine/pcecommn.h
parent14756cfa21c4c41f9dc75a58ebfde745cff97e1e (diff)
why complicate when proper devices are there and do work properly (nw)
Diffstat (limited to 'src/mame/machine/pcecommn.h')
-rw-r--r--src/mame/machine/pcecommn.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mame/machine/pcecommn.h b/src/mame/machine/pcecommn.h
index 3f616ba7eea..fbf1b600ac7 100644
--- a/src/mame/machine/pcecommn.h
+++ b/src/mame/machine/pcecommn.h
@@ -9,6 +9,8 @@
#ifndef PCECOMMON_H
#define PCECOMMON_H
+#include "video/huc6260.h"
+#include "video/huc6270.h"
#define PCE_MAIN_CLOCK 21477270
class pce_common_state : public driver_device
@@ -16,7 +18,8 @@ class pce_common_state : public driver_device
public:
pce_common_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu") { }
+ m_maincpu(*this, "maincpu"),
+ m_huc6260(*this, "huc6260") { }
DECLARE_WRITE8_MEMBER(pce_joystick_w);
DECLARE_READ8_MEMBER(pce_joystick_r);
@@ -26,6 +29,9 @@ public:
required_device<cpu_device> m_maincpu;
virtual UINT8 joy_read();
+ UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ required_device<huc6260_device> m_huc6260;
+ DECLARE_WRITE_LINE_MEMBER(pce_irq_changed);
private:
UINT8 m_io_port_options; /*driver-specific options for the PCE*/
int m_joystick_port_select; /* internal index of joystick ports */