MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / inputdevice_store_clear

Function inputdevice_store_clear

src/inputdevice.cpp:641–650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639}
640
641static void inputdevice_store_clear(void)
642{
643 for (int j = 0; j < MAX_JPORTS; j++) {
644 for (int i = 0; i < MAX_STORED_JPORTS; i++) {
645 struct stored_jport *jp = &stored_jports[j][i];
646 if (!jp->defaultports)
647 memset(jp, 0, sizeof(struct stored_jport));
648 }
649 }
650}
651
652static void inputdevice_set_newest_used_device(int portnum, struct jport *jps)
653{

Callers 1

reset_inputdevice_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected