mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
Even better fix for Amiga AGA ddf_stop_pixel.
This commit is contained in:
parent
8668a23fb4
commit
70b0ccbaae
@ -845,7 +845,7 @@ void amiga_aga_render_scanline(running_machine *machine, bitmap_t *bitmap, int s
|
||||
|
||||
/* compute the pixel fetch parameters */
|
||||
ddf_start_pixel = ( CUSTOM_REG(REG_DDFSTRT) & 0xfc ) * 2 + (hires ? 9 : 17);
|
||||
ddf_stop_pixel = ( CUSTOM_REG(REG_DDFSTOP) & 0xfc ) * 2 + (hires ? (9 + defbitoffs - ((defbitoffs == 31) ? 16 : 0)) : (17 + defbitoffs));
|
||||
ddf_stop_pixel = ( CUSTOM_REG(REG_DDFSTOP) & 0xfc ) * 2 + (hires ? (9 + defbitoffs - ((defbitoffs >= 31) ? 16 : 0)) : (17 + defbitoffs));
|
||||
|
||||
if ( ( CUSTOM_REG(REG_DDFSTRT) ^ CUSTOM_REG(REG_DDFSTOP) ) & 0x04 )
|
||||
ddf_stop_pixel += 8;
|
||||
|
Loading…
Reference in New Issue
Block a user