~ubuntu-branches/debian/sid/mame/sid

« back to all changes in this revision

Viewing changes to src/mame/includes/pktgaldx.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Emmanuel Kasper, Jordi Mallach
  • Date: 2012-06-05 20:02:23 UTC
  • mfrom: (0.3.1) (0.1.4)
  • Revision ID: package-import@ubuntu.com-20120605200223-gnlpogjrg6oqe9md
Tags: 0.146-1
[ Emmanuel Kasper ]
* New upstream release
* Drop patch to fix man pages section and patches to link with flac 
  and jpeg system lib: all this has been pushed upstream by Cesare Falco
* Add DM-Upload-Allowed: yes field.

[ Jordi Mallach ]
* Create a "gnu" TARGETOS stanza that defines NO_AFFINITY_NP.
* Stop setting TARGETOS to "unix" in d/rules. It should be autodetected,
  and set to the appropriate value.
* mame_manpage_section.patch: Change mame's manpage section to 6 (games),
  in the TH declaration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
{
9
9
public:
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"){ }
12
17
 
13
18
        /* memory pointers */
14
 
        UINT16 *  m_pf1_rowscroll;
15
 
        UINT16 *  m_pf2_rowscroll;
16
 
        UINT16 *  m_spriteram;
 
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;
19
23
 
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;
22
26
 
23
27
        /* devices */
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);
26
32
};
27
33
 
28
34