MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / panel_buffer_catchup

Function panel_buffer_catchup

core/panel.c:679–684  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

677}
678
679static 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
686static inline void panel_write_pixel(uint8_t (*pixel)[3], uint32_t bgr666) {
687 assert(bgr666 <= 0x3FFFF);

Callers 2

panel_write_pixel_rowFunction · 0.85
panel_write_pixel_colFunction · 0.85

Calls 2

panel_ram_colFunction · 0.85
panel_buffer_pixelsFunction · 0.85

Tested by

no test coverage detected