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

« back to all changes in this revision

Viewing changes to src/mame/video/gotcha.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:
74
74
                if (gfxbank[banksel] != ((data & 0x0f00) >> 8))
75
75
                {
76
76
                        gfxbank[banksel] = (data & 0x0f00) >> 8;
77
 
                        tilemap_mark_all_tiles_dirty(ALL_TILEMAPS);
 
77
                        tilemap_mark_all_tiles_dirty_all(space->machine);
78
78
                }
79
79
        }
80
80
}
114
114
 
115
115
                for (y = 0;y < height;y++)
116
116
                {
117
 
                        drawgfx(bitmap,machine->gfx[1],
 
117
                        drawgfx_transpen(bitmap,cliprect,machine->gfx[1],
118
118
                                        code + (flipy ? height-1 - y : y),
119
119
                                        color,
120
120
                                        flipx,flipy,
121
 
                                        0x140-5 - ((sx + 0x10) & 0x1ff),0x100+1 - ((sy + 0x10 * (height - y)) & 0x1ff),
122
 
                                        cliprect,TRANSPARENCY_PEN,0);
 
121
                                        0x140-5 - ((sx + 0x10) & 0x1ff),0x100+1 - ((sy + 0x10 * (height - y)) & 0x1ff),0);
123
122
                }
124
123
        }
125
124
}