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

« back to all changes in this revision

Viewing changes to src/mame/video/exprraid.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:
21
21
        if (flip_screen_get(space->machine) != (data & 0x01))
22
22
        {
23
23
                flip_screen_set(space->machine, data & 0x01);
24
 
                tilemap_mark_all_tiles_dirty(ALL_TILEMAPS);
 
24
                tilemap_mark_all_tiles_dirty_all(space->machine);
25
25
        }
26
26
}
27
27
 
114
114
                        flipy = !flipy;
115
115
                }
116
116
 
117
 
                drawgfx(bitmap, machine->gfx[1],
 
117
                drawgfx_transpen(bitmap, 0, machine->gfx[1],
118
118
                        code, color,
119
119
                        flipx, flipy,
120
 
                        sx, sy,
121
 
                        0, TRANSPARENCY_PEN, 0);
 
120
                        sx, sy, 0);
122
121
 
123
122
                /* double height */
124
123
 
125
124
                if (attr & 0x10)
126
125
                {
127
 
                        drawgfx(bitmap,machine->gfx[1],
 
126
                        drawgfx_transpen(bitmap,cliprect, machine->gfx[1],
128
127
                                code + 1, color,
129
128
                                flipx, flipy,
130
 
                                sx, sy + (flip_screen_get(machine) ? -16 : 16),
131
 
                                cliprect, TRANSPARENCY_PEN, 0);
 
129
                                sx, sy + (flip_screen_get(machine) ? -16 : 16), 0);
132
130
                }
133
131
        }
134
132
}