src/mess/drivers/supracan.c
| r6960 | r6961 | |
| 380 | 380 | memory_write_word(space, acan_dma_regs.dest[ch], memory_read_word(space, acan_dma_regs.source[ch])); |
| 381 | 381 | acan_dma_regs.dest[ch]+=2; |
| 382 | 382 | acan_dma_regs.source[ch]+=2; |
| 383 | if(data & 0x0100) |
| 384 | if((acan_dma_regs.dest[ch] & 0xf) == 0) |
| 385 | acan_dma_regs.dest[ch]-=0x10; |
| 383 | 386 | } |
| 384 | 387 | else |
| 385 | 388 | { |
| r6960 | r6961 | |
| 741 | 744 | rectangle visarea = *video_screen_get_visible_area(space->machine->primary_screen); |
| 742 | 745 | |
| 743 | 746 | visarea.min_x = visarea.min_y = 0; |
| 744 | | visarea.max_y = 240; |
| 745 | | visarea.max_x = (video_flags & 0x100) ? 320 : 256; |
| 747 | visarea.max_y = 240 - 1; |
| 748 | visarea.max_x = ((video_flags & 0x100) ? 320 : 256) - 1; |
| 746 | 749 | video_screen_configure(space->machine->primary_screen, 348, 256, &visarea, video_screen_get_frame_period(space->machine->primary_screen).attoseconds); |
| 747 | 750 | } |
| 748 | 751 | break; |