src/mess/video/fmtowns.c
| r6751 | r6752 | |
| 633 | 633 | } |
| 634 | 634 | else |
| 635 | 635 | { |
| 636 | | xstart = x+2; |
| 637 | | xend = x+18; |
| 636 | xstart = x+1; |
| 637 | xend = x+17; |
| 638 | 638 | xdir = 2; |
| 639 | 639 | } |
| 640 | 640 | if(yflip) |
| r6751 | r6752 | |
| 813 | 813 | { |
| 814 | 814 | if(!(towns_video_reg[0] & 0x10)) |
| 815 | 815 | return; |
| 816 | | off += (towns_crtc_reg[21] & 0xfffe) << 2; // initial offset |
| 816 | off += (towns_crtc_reg[21]) << 2; // initial offset |
| 817 | 817 | if(towns_crtc_reg[27] & 0x0100) |
| 818 | 818 | hzoom = 2; |
| 819 | 819 | } |
| 820 | 820 | else |
| 821 | 821 | { |
| 822 | | off += (towns_crtc_reg[17] & 0xfffe) << 2; // initial offset |
| 822 | off += (towns_crtc_reg[17]) << 2; // initial offset |
| 823 | 823 | if(towns_crtc_reg[27] & 0x0001) |
| 824 | 824 | hzoom = 2; |
| 825 | 825 | } |
| 826 | 826 | |
| 827 | 827 | off += line * linesize; |
| 828 | | |
| 828 | |
| 829 | 829 | if(hzoom == 1) |
| 830 | 830 | { |
| 831 | 831 | for(x=rect->min_x;x<rect->max_x;x++) |