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

« back to all changes in this revision

Viewing changes to src/mame/video/midtunit.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:
687
687
        if (!(command & 0x8000))
688
688
                return;
689
689
 
690
 
        profiler_mark(PROFILER_USER1);
 
690
        profiler_mark_start(PROFILER_USER1);
691
691
 
692
692
        /* determine bpp */
693
693
        bpp = (command >> 12) & 7;
719
719
 
720
720
if (LOG_DMA)
721
721
{
722
 
        if (input_code_pressed(KEYCODE_L))
 
722
        if (input_code_pressed(space->machine, KEYCODE_L))
723
723
        {
724
724
                logerror("DMA command %04X: (bpp=%d skip=%d xflip=%d yflip=%d preskip=%d postskip=%d)\n",
725
725
                                command, (command >> 12) & 7, (command >> 7) & 1, (command >> 4) & 1, (command >> 5) & 1, (command >> 8) & 3, (command >> 10) & 3);
795
795
skipdma:
796
796
        timer_set(space->machine, ATTOTIME_IN_NSEC(41 * pixels), NULL, 0, dma_callback);
797
797
 
798
 
        profiler_mark(PROFILER_END);
 
798
        profiler_mark_end();
799
799
}
800
800
 
801
801