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

« back to all changes in this revision

Viewing changes to src/mame/includes/naughtyb.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:
2
2
{
3
3
public:
4
4
        naughtyb_state(const machine_config &mconfig, device_type type, const char *tag)
5
 
                : driver_device(mconfig, type, tag) { }
 
5
                : driver_device(mconfig, type, tag) ,
 
6
                m_videoram(*this, "videoram"),
 
7
                m_videoram2(*this, "videoram2"),
 
8
                m_scrollreg(*this, "scrollreg"){ }
6
9
 
7
 
        UINT8 *m_videoram;
 
10
        required_shared_ptr<UINT8> m_videoram;
8
11
        UINT8 m_popflame_prot_seed;
9
12
        int m_r_index;
10
13
        int m_prot_count;
11
14
        int m_question_offset;
12
 
        UINT8 *m_videoram2;
13
 
        UINT8 *m_scrollreg;
 
15
        required_shared_ptr<UINT8> m_videoram2;
 
16
        required_shared_ptr<UINT8> m_scrollreg;
14
17
        int m_cocktail;
15
18
        UINT8 m_palreg;
16
19
        int m_bankreg;
17
20
        bitmap_ind16 m_tmpbitmap;
 
21
        DECLARE_READ8_MEMBER(in0_port_r);
 
22
        DECLARE_READ8_MEMBER(dsw0_port_r);
 
23
        DECLARE_READ8_MEMBER(popflame_protection_r);
 
24
        DECLARE_WRITE8_MEMBER(popflame_protection_w);
 
25
        DECLARE_READ8_MEMBER(trvmstr_questions_r);
 
26
        DECLARE_WRITE8_MEMBER(trvmstr_questions_w);
 
27
        DECLARE_WRITE8_MEMBER(naughtyb_videoreg_w);
 
28
        DECLARE_WRITE8_MEMBER(popflame_videoreg_w);
 
29
        DECLARE_INPUT_CHANGED_MEMBER(coin_inserted);
18
30
};
19
31
 
20
32
 
21
33
/*----------- defined in video/naughtyb.c -----------*/
22
34
 
23
 
WRITE8_HANDLER( naughtyb_videoreg_w );
24
 
WRITE8_HANDLER( popflame_videoreg_w );
25
35
 
26
36
VIDEO_START( naughtyb );
27
37
PALETTE_INIT( naughtyb );