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

« back to all changes in this revision

Viewing changes to src/mame/includes/ddragon3.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:
9
9
{
10
10
public:
11
11
        ddragon3_state(const machine_config &mconfig, device_type type, const char *tag)
12
 
                : driver_device(mconfig, type, tag) { }
 
12
                : driver_device(mconfig, type, tag) ,
 
13
                m_bg_videoram(*this, "bg_videoram"),
 
14
                m_fg_videoram(*this, "fg_videoram"),
 
15
                m_spriteram(*this, "spriteram"){ }
13
16
 
14
17
        /* memory pointers */
15
 
        UINT16 *        m_bg_videoram;
16
 
        UINT16 *        m_fg_videoram;
17
 
        UINT16 *        m_spriteram;
 
18
        required_shared_ptr<UINT16> m_bg_videoram;
 
19
        required_shared_ptr<UINT16> m_fg_videoram;
 
20
        required_shared_ptr<UINT16> m_spriteram;
18
21
//  UINT16 *        m_paletteram; // currently this uses generic palette handling
19
22
 
20
23
        /* video-related */
33
36
        /* devices */
34
37
        device_t *m_maincpu;
35
38
        device_t *m_audiocpu;
 
39
        DECLARE_WRITE16_MEMBER(ddragon3_io_w);
 
40
        DECLARE_WRITE16_MEMBER(ddragon3_scroll_w);
 
41
        DECLARE_READ16_MEMBER(ddragon3_scroll_r);
 
42
        DECLARE_WRITE16_MEMBER(ddragon3_bg_videoram_w);
 
43
        DECLARE_WRITE16_MEMBER(ddragon3_fg_videoram_w);
36
44
};
37
45
 
38
46
 
39
47
/*----------- defined in video/ddragon3.c -----------*/
40
48
 
41
 
extern WRITE16_HANDLER( ddragon3_bg_videoram_w );
42
 
extern WRITE16_HANDLER( ddragon3_fg_videoram_w );
43
 
extern WRITE16_HANDLER( ddragon3_scroll_w );
44
 
extern READ16_HANDLER( ddragon3_scroll_r );
45
49
 
46
50
extern VIDEO_START( ddragon3 );
47
51
extern SCREEN_UPDATE_IND16( ddragon3 );