~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
204
204
                        {
205
205
                                if ((color & pri_mask) == pri_val &&
206
206
                                                        (!flash || (video_screen_get_frame_number(machine->primary_screen) & 1)))
207
 
                                        drawgfx(bitmap,machine->gfx[3],
 
207
                                        drawgfx_transpen(bitmap,cliprect,machine->gfx[3],
208
208
                                                        code - y * incy + h * x,
209
209
                                                        color,
210
210
                                                        flipx,flipy,
211
 
                                                        sx + mult * x,sy + mult * y,
212
 
                                                        cliprect,TRANSPARENCY_PEN,0);
 
211
                                                        sx + mult * x,sy + mult * y,0);
213
212
                        }
214
213
 
215
214
                        offs += 4;
232
231
                flipscreen=1;
233
232
        else
234
233
                flipscreen=0;
235
 
        tilemap_set_flip(ALL_TILEMAPS,flipscreen ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
 
234
        tilemap_set_flip_all(screen->machine,flipscreen ? (TILEMAP_FLIPY | TILEMAP_FLIPX) : 0);
236
235
 
237
236
        /* Setup scroll registers */
238
237
        for (offs = 0;offs < 512;offs++)