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

« back to all changes in this revision

Viewing changes to src/mame/video/pcktgal.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:
41
41
        if (flip_screen_get(space->machine) != (data & 0x80))
42
42
        {
43
43
                flip_screen_set(space->machine, data & 0x80);
44
 
                tilemap_mark_all_tiles_dirty(ALL_TILEMAPS);
 
44
                tilemap_mark_all_tiles_dirty_all(space->machine);
45
45
        }
46
46
}
47
47
 
82
82
                                if (flipy) flipy=0; else flipy=1;
83
83
                        }
84
84
 
85
 
                        drawgfx(bitmap,machine->gfx[1],
 
85
                        drawgfx_transpen(bitmap,cliprect,machine->gfx[1],
86
86
                                        spriteram[offs+3] + ((spriteram[offs+1] & 1) << 8),
87
87
                                        (spriteram[offs+1] & 0x70) >> 4,
88
88
                                        flipx,flipy,
89
 
                                        sx,sy,
90
 
                                        cliprect,TRANSPARENCY_PEN,0);
 
89
                                        sx,sy,0);
91
90
                }
92
91
        }
93
92
}