Previous 15994 Revisions Next

r5136 Friday 3rd July, 2009 at 22:20:43 UTC by Jonathan Gevaryahu
import from MAME svn: Better fix for Amiga AGA ddf_stop_pixel, to avoid breaking Amiga 1200 startup screen. [Mariusz Wojcieszek]
[src/mame/video]amigaaga.c

src/mame/video/amigaaga.c
r5135r5136
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 - 16) : (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