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

« back to all changes in this revision

Viewing changes to src/mame/video/mexico86.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:
88
88
                                x = (sx + xc * 8) & 0xff;
89
89
                                y = (sy + yc * 8) & 0xff;
90
90
 
91
 
                                drawgfx(bitmap,screen->machine->gfx[0],
 
91
                                drawgfx_transpen(bitmap,cliprect,screen->machine->gfx[0],
92
92
                                                code,
93
93
                                                color,
94
94
                                                flipx,flipy,
95
 
                                                x,y,
96
 
                                                cliprect,TRANSPARENCY_PEN,15);
 
95
                                                x,y,15);
97
96
                        }
98
97
                }
99
98
        }
145
144
                        color = (mexico86_videoram[goffs + 1] & 0xe0) >> 5;
146
145
                        goffs += 0x40;
147
146
 
148
 
                        drawgfx(bitmap,screen->machine->gfx[0],
 
147
                        drawgfx_transpen(bitmap,cliprect,screen->machine->gfx[0],
149
148
                                        code,
150
149
                                        color,
151
150
                                        0,0,
152
 
                                        sx&0xff,y,
153
 
                                        cliprect,TRANSPARENCY_PEN,15);
 
151
                                        sx&0xff,y,15);
154
152
 
155
153
                        code = mexico86_videoram[goffs] + ((mexico86_videoram[goffs + 1] & 0x1f) << 8);
156
154
                        color = (mexico86_videoram[goffs + 1] & 0xe0) >> 5;
157
155
 
158
 
                        drawgfx(bitmap,screen->machine->gfx[0],
 
156
                        drawgfx_transpen(bitmap,cliprect,screen->machine->gfx[0],
159
157
                                        code,
160
158
                                        color,
161
159
                                        0,0,
162
 
                                        (sx+8)&0xff,y,
163
 
                                        cliprect,TRANSPARENCY_PEN,15);
 
160
                                        (sx+8)&0xff,y,15);
164
161
                }
165
162
        }
166
163
        return 0;