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

« back to all changes in this revision

Viewing changes to src/mame/video/pirates.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:
51
51
 
52
52
 
53
53
 
54
 
WRITE16_HANDLER( pirates_tx_tileram_w )
55
 
{
56
 
        pirates_state *state = space->machine().driver_data<pirates_state>();
57
 
        COMBINE_DATA(state->m_tx_tileram+offset);
58
 
        state->m_tx_tilemap->mark_tile_dirty(offset/2);
59
 
}
60
 
 
61
 
WRITE16_HANDLER( pirates_fg_tileram_w )
62
 
{
63
 
        pirates_state *state = space->machine().driver_data<pirates_state>();
64
 
        COMBINE_DATA(state->m_fg_tileram+offset);
65
 
        state->m_fg_tilemap->mark_tile_dirty(offset/2);
66
 
}
67
 
 
68
 
WRITE16_HANDLER( pirates_bg_tileram_w )
69
 
{
70
 
        pirates_state *state = space->machine().driver_data<pirates_state>();
71
 
        COMBINE_DATA(state->m_bg_tileram+offset);
72
 
        state->m_bg_tilemap->mark_tile_dirty(offset/2);
 
54
WRITE16_MEMBER(pirates_state::pirates_tx_tileram_w)
 
55
{
 
56
        COMBINE_DATA(m_tx_tileram+offset);
 
57
        m_tx_tilemap->mark_tile_dirty(offset/2);
 
58
}
 
59
 
 
60
WRITE16_MEMBER(pirates_state::pirates_fg_tileram_w)
 
61
{
 
62
        COMBINE_DATA(m_fg_tileram+offset);
 
63
        m_fg_tilemap->mark_tile_dirty(offset/2);
 
64
}
 
65
 
 
66
WRITE16_MEMBER(pirates_state::pirates_bg_tileram_w)
 
67
{
 
68
        COMBINE_DATA(m_bg_tileram+offset);
 
69
        m_bg_tilemap->mark_tile_dirty(offset/2);
73
70
}
74
71
 
75
72