Previous 199869 Revisions Next

r20939 Monday 11th February, 2013 at 14:38:19 UTC by Ville Linde
video/jagblit.c: Emulated buggy blitter YADD behavior (fixes Tempest 2000). (nw)
[src/mame/video]jagblit.c

trunk/src/mame/video/jagblit.c
r20938r20939
172172   INT32 a2_zoffs = (A2FIXED >> 6) & 7;
173173   INT32 a2_width = ((4 | ((a2flags >> 9) & 3)) << ((a2flags >> 11) & 15)) >> 2;
174174   INT32 a2_xadd = (A2FIXED >> 16) & 0x03;
175   INT32 a2_yadd = (A2FIXED >> 18) & 0x01;
175   INT32 a2_yadd = (A1FIXED >> 18) & 0x01;      // From Jaguar HW errata: "If the A1 Y add control bit is set it will affect both address generators."
176176   INT32 a2_x = (m_blitter_regs[A2_PIXEL] << 16);
177177   INT32 a2_y = (m_blitter_regs[A2_PIXEL] & 0xffff0000);
178178   INT32 a2_xstep = 0;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team