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

« back to all changes in this revision

Viewing changes to src/mame/video/othldrby.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:
165
165
                {
166
166
                        for (x = 0;x < sizex;x++)
167
167
                        {
168
 
                                drawgfx(bitmap,machine->gfx[0],
 
168
                                drawgfx_transpen(bitmap,cliprect,machine->gfx[0],
169
169
                                                code + x + sizex * y,
170
170
                                                color,
171
171
                                                flipx,flipy,
172
 
                                                (sx + (flipx ? (-8*(x+1)+1) : 8*x) - vreg[6]+44) & 0x1ff,(sy + (flipy ? (-8*(y+1)+1) : 8*y) - vreg[7]-9) & 0x1ff,
173
 
                                                cliprect,TRANSPARENCY_PEN,0);
 
172
                                                (sx + (flipx ? (-8*(x+1)+1) : 8*x) - vreg[6]+44) & 0x1ff,(sy + (flipy ? (-8*(y+1)+1) : 8*y) - vreg[7]-9) & 0x1ff,0);
174
173
                        }
175
174
                }
176
175
        }
197
196
                }
198
197
        }
199
198
 
200
 
        bitmap_fill(priority_bitmap,cliprect,0);
 
199
        bitmap_fill(screen->machine->priority_bitmap,cliprect,0);
201
200
 
202
201
        bitmap_fill(bitmap,cliprect,0);
203
202