| 635 | } |
| 636 | |
| 637 | uint8 cGraphics_PC::Video_Get_Pixel(uint8* pSi, int16 pX, int16 pY) { |
| 638 | |
| 639 | // 0xA0 Bytes per row |
| 640 | pSi += 0xA0 * pY; |
| 641 | |
| 642 | pSi += (pX >> 1); |
| 643 | |
| 644 | if (pX & 1) |
| 645 | return (*pSi) & 0x0F; |
| 646 | |
| 647 | return (*pSi) >> 4; |
| 648 | } |
| 649 | |
| 650 | void cGraphics_PC::Video_Put_Pixel(uint8* pDi, uint8 pAl) { |
| 651 |
nothing calls this directly
no outgoing calls
no test coverage detected