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

« back to all changes in this revision

Viewing changes to src/mame/video/silkroad.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:
73
73
 
74
74
 
75
75
 
76
 
WRITE32_HANDLER( silkroad_fgram_w )
 
76
WRITE32_MEMBER(silkroad_state::silkroad_fgram_w)
77
77
{
78
 
        silkroad_state *state = space->machine().driver_data<silkroad_state>();
79
78
 
80
 
        COMBINE_DATA(&state->m_vidram[offset]);
81
 
        state->m_fg_tilemap->mark_tile_dirty(offset);
 
79
        COMBINE_DATA(&m_vidram[offset]);
 
80
        m_fg_tilemap->mark_tile_dirty(offset);
82
81
}
83
82
 
84
83
static TILE_GET_INFO( get_fg2_tile_info )
97
96
 
98
97
 
99
98
 
100
 
WRITE32_HANDLER( silkroad_fgram2_w )
 
99
WRITE32_MEMBER(silkroad_state::silkroad_fgram2_w)
101
100
{
102
 
        silkroad_state *state = space->machine().driver_data<silkroad_state>();
103
101
 
104
 
        COMBINE_DATA(&state->m_vidram2[offset]);
105
 
        state->m_fg2_tilemap->mark_tile_dirty(offset);
 
102
        COMBINE_DATA(&m_vidram2[offset]);
 
103
        m_fg2_tilemap->mark_tile_dirty(offset);
106
104
}
107
105
 
108
106
static TILE_GET_INFO( get_fg3_tile_info )
121
119
 
122
120
 
123
121
 
124
 
WRITE32_HANDLER( silkroad_fgram3_w )
 
122
WRITE32_MEMBER(silkroad_state::silkroad_fgram3_w)
125
123
{
126
 
        silkroad_state *state = space->machine().driver_data<silkroad_state>();
127
124
 
128
 
        COMBINE_DATA(&state->m_vidram3[offset]);
129
 
        state->m_fg3_tilemap->mark_tile_dirty(offset);
 
125
        COMBINE_DATA(&m_vidram3[offset]);
 
126
        m_fg3_tilemap->mark_tile_dirty(offset);
130
127
}
131
128
 
132
129
VIDEO_START(silkroad)