| 51 | } |
| 52 | |
| 53 | void Blitter_8bppBase::CopyFromBuffer(void *video, const void *src, int width, int height) |
| 54 | { |
| 55 | uint8_t *dst = (uint8_t *)video; |
| 56 | const uint8_t *usrc = (const uint8_t *)src; |
| 57 | |
| 58 | for (; height > 0; height--) { |
| 59 | std::copy_n(usrc, width, dst); |
| 60 | usrc += width; |
| 61 | dst += _screen.pitch; |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | void Blitter_8bppBase::CopyToBuffer(const void *video, void *dst, int width, int height) |
| 66 | { |
no outgoing calls
no test coverage detected