Previous 15994 Revisions Next

r5157 Sunday 5th July, 2009 at 20:07:26 UTC by Jonathan Gevaryahu
Import from MAME svn: Even better fix for Amiga AGA ddf_stop_pixel. [Mariusz Wojcieszek]
[src/mame/video]amigaaga.c

src/mame/video/amigaaga.c
r5156r5157
845845
846846         /* compute the pixel fetch parameters */
847847         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 - ((defbitoffs == 31) ? 16 : 0)) : (17 + defbitoffs));
848         ddf_stop_pixel = ( CUSTOM_REG(REG_DDFSTOP) & 0xfc ) * 2 + (hires ? (9 + defbitoffs - ((defbitoffs >= 31) ? 16 : 0)) : (17 + defbitoffs));
849849
850850         if ( ( CUSTOM_REG(REG_DDFSTRT) ^ CUSTOM_REG(REG_DDFSTOP) ) & 0x04 )
851851            ddf_stop_pixel += 8;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team