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

Function inputdevice_compa_clear

src/inputdevice.cpp:7448–7453  ·  view source on GitHub ↗

clear device before switching to new one

Source from the content-addressed store, hash-verified

7446}
7447// clear device before switching to new one
7448void inputdevice_compa_clear (struct uae_prefs *prefs, int index)
7449{
7450 freejport (prefs, index);
7451 resetjport (prefs, index);
7452 remove_compa_config (prefs, index);
7453}
7454
7455static void cleardev (struct uae_input_device *uid, int num)
7456{

Callers

nothing calls this directly

Calls 3

freejportFunction · 0.85
resetjportFunction · 0.85
remove_compa_configFunction · 0.85

Tested by

no test coverage detected