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

« back to all changes in this revision

Viewing changes to src/mame/video/kingobox.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:
177
177
        if (flip_screen_get(space->machine) != (data & 0x80))
178
178
        {
179
179
                flip_screen_set(space->machine, data & 0x80);
180
 
                tilemap_mark_all_tiles_dirty(ALL_TILEMAPS);
 
180
                tilemap_mark_all_tiles_dirty_all(space->machine);
181
181
        }
182
182
}
183
183
 
237
237
                        flipy = !flipy;
238
238
                }
239
239
 
240
 
                drawgfx(bitmap, machine->gfx[2 + bank],
 
240
                drawgfx_transpen(bitmap, cliprect, machine->gfx[2 + bank],
241
241
                        code, color,
242
242
                        flipx, flipy,
243
 
                        sx, sy,
244
 
                        cliprect, TRANSPARENCY_PEN, 0);
 
243
                        sx, sy, 0);
245
244
        }
246
245
}
247
246
 
297
296
                        flipy = !flipy;
298
297
                }
299
298
 
300
 
                drawgfx(bitmap, machine->gfx[2 + bank],
 
299
                drawgfx_transpen(bitmap, cliprect, machine->gfx[2 + bank],
301
300
                        code, color,
302
301
                        flipx, flipy,
303
 
                        sx, sy,
304
 
                        cliprect, TRANSPARENCY_PEN, 0);
 
302
                        sx, sy, 0);
305
303
        }
306
304
}
307
305