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

« back to all changes in this revision

Viewing changes to src/mame/video/midvunit.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:
378
378
 
379
379
WRITE32_HANDLER( midvunit_dma_queue_w )
380
380
{
381
 
        if (LOG_DMA && input_code_pressed(KEYCODE_L))
 
381
        if (LOG_DMA && input_code_pressed(space->machine, KEYCODE_L))
382
382
                logerror("%06X:queue(%X) = %08X\n", cpu_get_pc(space->cpu), dma_data_index, data);
383
383
        if (dma_data_index < 16)
384
384
                dma_data[dma_data_index++] = data;
396
396
{
397
397
        if (offset)
398
398
        {
399
 
                if (LOG_DMA && input_code_pressed(KEYCODE_L))
 
399
                if (LOG_DMA && input_code_pressed(space->machine, KEYCODE_L))
400
400
                        logerror("%06X:trigger\n", cpu_get_pc(space->cpu));
401
401
                process_dma_queue(space->machine);
402
402
                dma_data_index = 0;
418
418
        if ((page_control ^ data) & 1)
419
419
        {
420
420
                video_changed = TRUE;
421
 
                if (LOG_DMA && input_code_pressed(KEYCODE_L))
 
421
                if (LOG_DMA && input_code_pressed(space->machine, KEYCODE_L))
422
422
                        logerror("##########################################################\n");
423
423
                video_screen_update_partial(space->machine->primary_screen, video_screen_get_vpos(space->machine->primary_screen) - 1);
424
424
        }