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

« back to all changes in this revision

Viewing changes to src/mame/video/magmax.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:
203
203
                        if (code & 0x80)        /* sprite bankswitch */
204
204
                                code += (*magmax_vreg & 0x30) * 0x8;
205
205
 
206
 
                        drawgfx(bitmap, screen->machine->gfx[1],
 
206
                        drawgfx_transmask(bitmap, cliprect, screen->machine->gfx[1],
207
207
                                        code,
208
208
                                        color,
209
209
                                        flipx, flipy,
210
210
                                        sx, sy,
211
 
                                        cliprect, TRANSPARENCY_PENS,
212
211
                                        colortable_get_transpen_mask(screen->machine->colortable, screen->machine->gfx[1], color, 0x1f));
213
212
                }
214
213
        }
234
233
                                sy = 31 - sy;
235
234
                        }
236
235
 
237
 
                        drawgfx(bitmap, screen->machine->gfx[0],
 
236
                        drawgfx_transpen(bitmap, cliprect, screen->machine->gfx[0],
238
237
                                        code,
239
238
                                        0,
240
239
                                        flipscreen, flipscreen,
241
 
                                        8 * sx, 8 * sy,
242
 
                                        cliprect, TRANSPARENCY_PEN, 0x0f);
 
240
                                        8 * sx, 8 * sy, 0x0f);
243
241
                }
244
242
        }
245
243
        return 0;