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

« back to all changes in this revision

Viewing changes to src/mame/video/circus.c

  • 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:
11
11
#include "includes/circus.h"
12
12
 
13
13
 
14
 
WRITE8_HANDLER( circus_videoram_w )
15
 
{
16
 
        circus_state *state = space->machine().driver_data<circus_state>();
17
 
        state->m_videoram[offset] = data;
18
 
        state->m_bg_tilemap->mark_tile_dirty(offset);
19
 
}
20
 
 
21
 
WRITE8_HANDLER( circus_clown_x_w )
22
 
{
23
 
        circus_state *state = space->machine().driver_data<circus_state>();
24
 
        state->m_clown_x = 240 - data;
25
 
}
26
 
 
27
 
WRITE8_HANDLER( circus_clown_y_w )
28
 
{
29
 
        circus_state *state = space->machine().driver_data<circus_state>();
30
 
        state->m_clown_y = 240 - data;
 
14
WRITE8_MEMBER(circus_state::circus_videoram_w)
 
15
{
 
16
        m_videoram[offset] = data;
 
17
        m_bg_tilemap->mark_tile_dirty(offset);
 
18
}
 
19
 
 
20
WRITE8_MEMBER(circus_state::circus_clown_x_w)
 
21
{
 
22
        m_clown_x = 240 - data;
 
23
}
 
24
 
 
25
WRITE8_MEMBER(circus_state::circus_clown_y_w)
 
26
{
 
27
        m_clown_y = 240 - data;
31
28
}
32
29
 
33
30
static TILE_GET_INFO( get_bg_tile_info )