Previous 199869 Revisions Next

r20938 Monday 11th February, 2013 at 14:18:17 UTC by Ville Linde
video/jagblit.c: Fixed Rayman collision detection. (nw)
[src/mame/video]jagblit.c

trunk/src/mame/video/jagblit.c
r20937r20938
154154
155155void jaguar_state::FUNCNAME(UINT32 command, UINT32 a1flags, UINT32 a2flags)
156156{
157   UINT32 a1_base = m_blitter_regs[A1_BASE];
157   UINT32 a1_base = m_blitter_regs[A1_BASE] & ~0x7;
158158   INT32 a1_pitch = (A1FIXED & 3) ^ ((A1FIXED & 2) >> 1);
159159   INT32 a1_zoffs = (A1FIXED >> 6) & 7;
160160   INT32 a1_width = ((4 | ((a1flags >> 9) & 3)) << ((a1flags >> 11) & 15)) >> 2;
r20937r20938
167167   UINT32 a1_xmask = 0xffffffff;
168168   UINT32 a1_ymask = 0xffffffff;
169169
170   UINT32 a2_base = m_blitter_regs[A2_BASE];
170   UINT32 a2_base = m_blitter_regs[A2_BASE] & ~0x7;
171171   INT32 a2_pitch = (A2FIXED & 3) ^ ((A2FIXED & 2) >> 1);
172172   INT32 a2_zoffs = (A2FIXED >> 6) & 7;
173173   INT32 a2_width = ((4 | ((a2flags >> 9) & 3)) << ((a2flags >> 11) & 15)) >> 2;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team