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

« back to all changes in this revision

Viewing changes to src/mame/video/warpwarp.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:
193
193
 
194
194
***************************************************************************/
195
195
 
196
 
WRITE8_HANDLER( geebee_videoram_w )
 
196
WRITE8_MEMBER(warpwarp_state::geebee_videoram_w)
197
197
{
198
 
        warpwarp_state *state = space->machine().driver_data<warpwarp_state>();
199
 
        state->m_geebee_videoram[offset] = data;
200
 
        state->m_bg_tilemap->mark_tile_dirty(offset & 0x3ff);
 
198
        m_geebee_videoram[offset] = data;
 
199
        m_bg_tilemap->mark_tile_dirty(offset & 0x3ff);
201
200
}
202
201
 
203
 
WRITE8_HANDLER( warpwarp_videoram_w )
 
202
WRITE8_MEMBER(warpwarp_state::warpwarp_videoram_w)
204
203
{
205
 
        warpwarp_state *state = space->machine().driver_data<warpwarp_state>();
206
 
        state->m_videoram[offset] = data;
207
 
        state->m_bg_tilemap->mark_tile_dirty(offset & 0x3ff);
 
204
        m_videoram[offset] = data;
 
205
        m_bg_tilemap->mark_tile_dirty(offset & 0x3ff);
208
206
}
209
207
 
210
208
 
228
226
        {
229
227
                int x,y,i,j;
230
228
 
231
 
                if (flip_screen_get(machine) & 1) {
 
229
                if (state->flip_screen() & 1) {
232
230
                        x = 376 - state->m_ball_h;
233
231
                        y = 280 - state->m_ball_v;
234
232
                }