| 677 | } |
| 678 | |
| 679 | static void panel_buffer_catchup(uint8_t col) { |
| 680 | uint8_t colWithinHalf = (col < 120 ? col : col - 120) << 1; |
| 681 | if (colWithinHalf >= panel.nextRamCol && colWithinHalf <= panel_ram_col() + 7) { |
| 682 | panel_buffer_pixels(); |
| 683 | } |
| 684 | } |
| 685 | |
| 686 | static inline void panel_write_pixel(uint8_t (*pixel)[3], uint32_t bgr666) { |
| 687 | assert(bgr666 <= 0x3FFFF); |
no test coverage detected