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

« back to all changes in this revision

Viewing changes to src/mame/video/snk68.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:
137
137
        if (ACCESSING_BITS_0_7)
138
138
        {
139
139
                flipscreen = data & 0x08;
140
 
                tilemap_set_flip(ALL_TILEMAPS, flipscreen ? (TILEMAP_FLIPX | TILEMAP_FLIPY) : 0);
 
140
                tilemap_set_flip_all(space->machine, flipscreen ? (TILEMAP_FLIPX | TILEMAP_FLIPY) : 0);
141
141
 
142
142
                sprite_flip_axis = data & 0x04; // for streetsm? though might not be present on this board
143
143
 
154
154
        if (ACCESSING_BITS_0_7)
155
155
        {
156
156
                flipscreen = data & 0x08;
157
 
                tilemap_set_flip(ALL_TILEMAPS, flipscreen ? (TILEMAP_FLIPX | TILEMAP_FLIPY) : 0);
 
157
                tilemap_set_flip_all(space->machine, flipscreen ? (TILEMAP_FLIPX | TILEMAP_FLIPY) : 0);
158
158
 
159
159
                sprite_flip_axis = data & 0x04;
160
160
        }
247
247
                                        fy = !fy;
248
248
                                }
249
249
 
250
 
                                drawgfx(bitmap,machine->gfx[1],
 
250
                                drawgfx_transpen(bitmap,cliprect, machine->gfx[1],
251
251
                                                tile,
252
252
                                                color,
253
253
                                                fx, fy,
254
 
                                                mx, my,
255
 
                                                cliprect, TRANSPARENCY_PEN, 0);
 
254
                                                mx, my, 0);
256
255
                        }
257
256
                        else
258
257
                        {