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

Function emu_lcd_drawframe

core/lcd.c:71–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void emu_lcd_drawframe(void *output) {
72 if (lcd.useDma) {
73 memcpy(output, panel.display, sizeof(panel.display));
74 } else if (lcd.control & 1 << 11) {
75 emu_lcd_drawmem(output, lcd.data, lcd.data_end, lcd.control, LCD_SIZE);
76 }
77}
78
79/* Draw the lcd onto an RGBA8888 buffer. Alpha is always 255. */
80void emu_lcd_drawmem(void *output, void *data, void *data_end, uint32_t lcd_control, int size) {

Callers 2

drawMethod · 0.85
sdl_update_lcdFunction · 0.85

Calls 1

emu_lcd_drawmemFunction · 0.85

Tested by

no test coverage detected