trunk/src/emu/cpu/tms34010/34010gfx.c
| r32402 | r32403 | |
| 1427 | 1427 | if (!TRANSPARENCY || pixel != 0) |
| 1428 | 1428 | dstword = (dstword & ~dstmask) | pixel; |
| 1429 | 1429 | |
| 1430 | | #if (BITS_PER_PIXEL<16) |
| 1430 | #if (BITS_PER_PIXEL<16) |
| 1431 | 1431 | /* update the source */ |
| 1432 | | srcmask = srcmask >> BITS_PER_PIXEL; |
| 1432 | srcmask >>= BITS_PER_PIXEL; |
| 1433 | 1433 | |
| 1434 | 1434 | /* update the destination */ |
| 1435 | | dstmask = dstmask >> BITS_PER_PIXEL; |
| 1436 | | #else |
| 1435 | dstmask >>= BITS_PER_PIXEL; |
| 1436 | #else |
| 1437 | 1437 | srcmask = 0; |
| 1438 | 1438 | dstmask = 0; |
| 1439 | | #endif |
| 1439 | #endif |
| 1440 | 1440 | } |
| 1441 | 1441 | |
| 1442 | 1442 | /* write the result */ |
| r32402 | r32403 | |
| 1474 | 1474 | if (!TRANSPARENCY || pixel != 0) |
| 1475 | 1475 | dstword = (dstword & ~dstmask) | pixel; |
| 1476 | 1476 | |
| 1477 | | #if (BITS_PER_PIXEL<16) |
| 1477 | #if (BITS_PER_PIXEL<16) |
| 1478 | 1478 | /* update the source */ |
| 1479 | | srcmask = srcmask >> BITS_PER_PIXEL; |
| 1479 | srcmask >>= BITS_PER_PIXEL; |
| 1480 | 1480 | |
| 1481 | 1481 | /* update the destination */ |
| 1482 | | dstmask = dstmask >> BITS_PER_PIXEL; |
| 1483 | | #else |
| 1482 | dstmask >>= BITS_PER_PIXEL; |
| 1483 | #else |
| 1484 | 1484 | srcmask = 0; |
| 1485 | 1485 | dstmask = 0; |
| 1486 | | #endif |
| 1486 | #endif |
| 1487 | 1487 | } |
| 1488 | 1488 | |
| 1489 | 1489 | /* write the result */ |
| r32402 | r32403 | |
| 1517 | 1517 | if (!TRANSPARENCY || pixel != 0) |
| 1518 | 1518 | dstword = (dstword & ~dstmask) | pixel; |
| 1519 | 1519 | |
| 1520 | | #if (BITS_PER_PIXEL<16) |
| 1520 | #if (BITS_PER_PIXEL<16) |
| 1521 | 1521 | /* update the source */ |
| 1522 | | srcmask = srcmask >> BITS_PER_PIXEL; |
| 1522 | srcmask >>= BITS_PER_PIXEL; |
| 1523 | 1523 | |
| 1524 | 1524 | /* update the destination */ |
| 1525 | | dstmask = dstmask >> BITS_PER_PIXEL; |
| 1526 | | #else |
| 1525 | dstmask >>= BITS_PER_PIXEL; |
| 1526 | #else |
| 1527 | 1527 | srcmask = 0; |
| 1528 | 1528 | dstmask = 0; |
| 1529 | | #endif |
| 1529 | #endif |
| 1530 | 1530 | } |
| 1531 | 1531 | |
| 1532 | 1532 | /* write the result */ |