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

« back to all changes in this revision

Viewing changes to src/mame/video/taito_b.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:
69
69
*
70
70
*/
71
71
 
72
 
static void taitob_video_control (UINT8 data)
 
72
static void taitob_video_control (running_machine *machine, UINT8 data)
73
73
{
74
74
#if 0
75
75
        if (data != video_control)
81
81
        if (video_control & 0x80)
82
82
                framebuffer_page = (~video_control & 0x40) >> 6;
83
83
 
84
 
        tilemap_set_flip(ALL_TILEMAPS, (video_control & 0x10) ? (TILEMAP_FLIPX | TILEMAP_FLIPY) : 0 );
 
84
        tilemap_set_flip_all(machine, (video_control & 0x10) ? (TILEMAP_FLIPX | TILEMAP_FLIPY) : 0 );
85
85
}
86
86
 
87
87
 
129
129
                        }
130
130
                        break;
131
131
                case 7:
132
 
                        taitob_video_control( (TC0180VCU_ctrl[offset]>>8) & 0xff );
 
132
                        taitob_video_control( space->machine, (TC0180VCU_ctrl[offset]>>8) & 0xff );
133
133
                        break;
134
134
                default:
135
135
                        break;
496
496
  rectangle myclip = *cliprect;
497
497
  int x,y;
498
498
 
499
 
profiler_mark(PROFILER_USER1);
 
499
profiler_mark_start(PROFILER_USER1);
500
500
 
501
501
  priority <<= 4;
502
502
 
503
503
 
504
504
        if (video_control & 0x08)
505
505
        {
506
 
                if (priority) return;
 
506
                if (priority)
 
507
                {
 
508
                        profiler_mark_end();
 
509
                        return;
 
510
                }
507
511
 
508
512
                if (video_control & 0x10)   /*flip screen*/
509
513
                {
587
591
                        }
588
592
                }
589
593
        }
590
 
profiler_mark(PROFILER_END);
 
594
profiler_mark_end();
591
595
}
592
596
 
593
597
VIDEO_UPDATE( taitob )