Previous 15994 Revisions Next

r8013 Tuesday 11th May, 2010 at 15:23:35 UTC by Angelo Salese
[Jaguar]: Fixed a2 masking in the blitter
[src/mame/video]jagblit.c

src/mame/video/jagblit.c
r8012r8013
236236   /* set up the A2 mask */
237237   if (A2FIXED & 0x00008000)
238238   {
239      a2_xmask = (blitter_regs[A2_MASK] << 16) | 0xffff;
240      a2_ymask = (blitter_regs[A2_MASK] & 0xffff) | 0xffff;
239      a2_xmask = ((blitter_regs[A2_MASK] & 0x0000ffff) << 16) | 0xffff;
240      a2_ymask = (blitter_regs[A2_MASK] & 0xffff0000) | 0xffff;
241241   }
242242
243243   /* modify outer loop steps based on command */
r8012r8013
431431         if (adest_phrase_mode || (command & 0x10000000) || !inhibit)
432432            {
433433               /* write to the destination */
434            WRITE_PIXEL(adest, adestflags, writedata);
434               WRITE_PIXEL(adest, adestflags, writedata);
435435               if (COMMAND & 0x00000020)
436436               WRITE_ZDATA(adest, adestflags, srczdata);
437437            }

Previous 15994 Revisions Next


© 1998-2018 The MESS Team