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

« back to all changes in this revision

Viewing changes to src/mame/video/pass.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:
16
16
 
17
17
}
18
18
 
19
 
WRITE16_HANDLER( pass_bg_videoram_w )
 
19
WRITE16_MEMBER(pass_state::pass_bg_videoram_w)
20
20
{
21
 
        pass_state *state = space->machine().driver_data<pass_state>();
22
21
 
23
 
        state->m_bg_videoram[offset] = data;
24
 
        state->m_bg_tilemap->mark_tile_dirty(offset);
 
22
        m_bg_videoram[offset] = data;
 
23
        m_bg_tilemap->mark_tile_dirty(offset);
25
24
}
26
25
 
27
26
/* foreground 'sprites' tilemap stuff */
38
37
 
39
38
}
40
39
 
41
 
WRITE16_HANDLER( pass_fg_videoram_w )
 
40
WRITE16_MEMBER(pass_state::pass_fg_videoram_w)
42
41
{
43
 
        pass_state *state = space->machine().driver_data<pass_state>();
44
 
        state->m_fg_videoram[offset] = data;
45
 
        state->m_fg_tilemap->mark_tile_dirty(offset);
 
42
        m_fg_videoram[offset] = data;
 
43
        m_fg_tilemap->mark_tile_dirty(offset);
46
44
}
47
45
 
48
46
/* video update / start */