src/mame/video/amigaaga.c
| r5135 | r5136 | |
| 845 | 845 | |
| 846 | 846 | /* compute the pixel fetch parameters */ |
| 847 | 847 | ddf_start_pixel = ( CUSTOM_REG(REG_DDFSTRT) & 0xfc ) * 2 + (hires ? 9 : 17); |
| 848 | | ddf_stop_pixel = ( CUSTOM_REG(REG_DDFSTOP) & 0xfc ) * 2 + (hires ? (9 + defbitoffs - 16) : (17 + defbitoffs)); |
| 848 | ddf_stop_pixel = ( CUSTOM_REG(REG_DDFSTOP) & 0xfc ) * 2 + (hires ? (9 + defbitoffs - ((defbitoffs == 31) ? 16 : 0)) : (17 + defbitoffs)); |
| 849 | 849 | |
| 850 | 850 | if ( ( CUSTOM_REG(REG_DDFSTRT) ^ CUSTOM_REG(REG_DDFSTOP) ) & 0x04 ) |
| 851 | 851 | ddf_stop_pixel += 8; |