early-access version 2652

This commit is contained in:
pineappleEA
2022-04-07 04:37:48 +02:00
parent 3ede7436f4
commit a2cc6a5680
35 changed files with 173 additions and 245 deletions

View File

@@ -1207,12 +1207,4 @@ void EmulatedController::DeleteCallback(int key) {
}
callback_list.erase(iterator);
}
void EmulatedController::RemoveServiceCallbacks() {
std::lock_guard lock{mutex};
const auto count = std::erase_if(
callback_list, [](const auto& callback) { return callback.second.is_npad_service; });
LOG_DEBUG(Input, "Elements deleted {}", count);
}
} // namespace Core::HID