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