Previous 199869 Revisions Next

r32400 Friday 26th September, 2014 at 12:01:03 UTC by smf
fix compile on MSVC 2012 & 2013 [Peter Ferrie]
[src/emu/cpu/tms34010]34010gfx.c

trunk/src/emu/cpu/tms34010/34010gfx.c
r32399r32400
14271427               if (!TRANSPARENCY || pixel != 0)
14281428                  dstword = (dstword & ~dstmask) | pixel;
14291429
1430               #if (BITS_PER_PIXEL<16)
14301431               /* update the source */
14311432               srcmask = srcmask >> BITS_PER_PIXEL;
14321433
14331434               /* update the destination */
14341435               dstmask = dstmask >> BITS_PER_PIXEL;
1436               #else
1437               srcmask = 0;
1438               dstmask = 0;
1439               #endif
14351440            }
14361441
14371442            /* write the result */
r32399r32400
14691474               if (!TRANSPARENCY || pixel != 0)
14701475                  dstword = (dstword & ~dstmask) | pixel;
14711476
1477               #if (BITS_PER_PIXEL<16)
14721478               /* update the source */
14731479               srcmask = srcmask >> BITS_PER_PIXEL;
14741480
14751481               /* update the destination */
14761482               dstmask = dstmask >> BITS_PER_PIXEL;
1483               #else
1484               srcmask = 0;
1485               dstmask = 0;
1486               #endif
14771487            }
14781488
14791489            /* write the result */
r32399r32400
15071517               if (!TRANSPARENCY || pixel != 0)
15081518                  dstword = (dstword & ~dstmask) | pixel;
15091519
1520               #if (BITS_PER_PIXEL<16)
15101521               /* update the source */
15111522               srcmask = srcmask >> BITS_PER_PIXEL;
15121523
15131524               /* update the destination */
15141525               dstmask = dstmask >> BITS_PER_PIXEL;
1526               #else
1527               srcmask = 0;
1528               dstmask = 0;
1529               #endif
15151530            }
15161531
15171532            /* write the result */

Previous 199869 Revisions Next


© 1997-2024 The MAME Team