10
10
pktgaldx_state(const machine_config &mconfig, device_type type, const char *tag)
11
: driver_device(mconfig, type, tag) { }
11
: driver_device(mconfig, type, tag) ,
12
m_pf1_rowscroll(*this, "pf1_rowscroll"),
13
m_pf2_rowscroll(*this, "pf2_rowscroll"),
14
m_spriteram(*this, "spriteram"),
15
m_pktgaldb_fgram(*this, "pktgaldb_fgram"),
16
m_pktgaldb_sprites(*this, "pktgaldb_spr"){ }
13
18
/* memory pointers */
14
UINT16 * m_pf1_rowscroll;
15
UINT16 * m_pf2_rowscroll;
19
optional_shared_ptr<UINT16> m_pf1_rowscroll;
20
optional_shared_ptr<UINT16> m_pf2_rowscroll;
21
optional_shared_ptr<UINT16> m_spriteram;
17
22
// UINT16 * paletteram; // currently this uses generic palette handling (in decocomn.c)
18
size_t m_spriteram_size;
20
UINT16* m_pktgaldb_fgram;
21
UINT16* m_pktgaldb_sprites;
24
optional_shared_ptr<UINT16> m_pktgaldb_fgram;
25
optional_shared_ptr<UINT16> m_pktgaldb_sprites;
24
28
device_t *m_maincpu;
25
29
device_t *m_deco_tilegen1;
30
DECLARE_READ16_MEMBER(pckgaldx_unknown_r);
31
DECLARE_READ16_MEMBER(pckgaldx_protection_r);