MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / CloseSources

Method CloseSources

pcsx2/Input/InputManager.cpp:1685–1695  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1683}
1684
1685void InputManager::CloseSources()
1686{
1687 for (u32 i = FIRST_EXTERNAL_INPUT_SOURCE; i < LAST_EXTERNAL_INPUT_SOURCE; i++)
1688 {
1689 if (s_input_sources[i] && s_input_sources[i]->IsInitialized())
1690 {
1691 s_input_sources[i]->Shutdown();
1692 }
1693 s_input_sources[i].reset();
1694 }
1695}
1696
1697void InputManager::PollSources()
1698{

Callers

nothing calls this directly

Calls 3

IsInitializedMethod · 0.45
ShutdownMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected