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

Function panel_reset

core/panel.c:1343–1350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1341}
1342
1343void panel_reset(void) {
1344 memset(&panel, 0, offsetof(panel_state_t, lineBuffers));
1345 memset(&panel.lineBuffers, 0xFF, sizeof(panel.lineBuffers));
1346 memset(&panel.display, 0xFF, sizeof(panel.display));
1347
1348 panel_init_events();
1349 panel_hw_reset();
1350}
1351
1352bool panel_save(FILE *image) {
1353 return fwrite(&panel, offsetof(panel_state_t, gammaLut), 1, image) == 1;

Callers

nothing calls this directly

Calls 2

panel_init_eventsFunction · 0.85
panel_hw_resetFunction · 0.85

Tested by

no test coverage detected