Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CE-Programming/CEmu
/ control_restore
Function
control_restore
core/control.c:252–254 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
250
}
251
252
bool control_restore(FILE *image) {
253
return fread(&control, sizeof(control), 1, image) == 1;
254
}
255
256
bool protected_ports_unlocked(void) {
257
return (control.protectedPortsUnlocked & 1 << 2) == 1 << 2;
Callers
1
asic_restore
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected