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

« back to all changes in this revision

Viewing changes to src/mame/video/m107.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:
190
190
 
191
191
                        for (i=0; i<y_multi; i++)
192
192
                        {
193
 
                                drawgfx(bitmap,machine->gfx[1],
 
193
                                drawgfx_transpen(bitmap,cliprect,machine->gfx[1],
194
194
                                                sprite + s_ptr,
195
195
                                                colour,
196
196
                                                fx,fy,
197
 
                                                x,y-i*16,
198
 
                                                cliprect,TRANSPARENCY_PEN,0);
 
197
                                                x,y-i*16,0);
199
198
                                if (fy) s_ptr++; else s_ptr--;
200
199
                        }
201
200
                }
218
217
                                        if (!ffy) sprite+=y_multi-1;
219
218
                                        for (i=0; i<y_multi; i++)
220
219
                                        {
221
 
                                                drawgfx(bitmap,machine->gfx[1],
 
220
                                                drawgfx_transpen(bitmap,cliprect,machine->gfx[1],
222
221
                                                                sprite+(ffy?i:-i),
223
222
                                                                colour,
224
223
                                                                ffx,ffy,
225
 
                                                                (x+xdisp)&0x1ff,(y-ydisp-16*i)&0x1ff,
226
 
                                                                cliprect,TRANSPARENCY_PEN,0);
 
224
                                                                (x+xdisp)&0x1ff,(y-ydisp-16*i)&0x1ff,0);
227
225
                                        }
228
226
 
229
227
                                        if (rom[rom_offs+1]&0x80) break;        /* end of block */