2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-16 17:37:03 +00:00

Merge branch 'new-streams' into dawn

This commit is contained in:
2022-02-22 21:08:53 -05:00
483 changed files with 16212 additions and 7391 deletions

View File

@@ -2,7 +2,9 @@
#include "Runtime/CArchitectureMessage.hpp"
#include "Runtime/CArchitectureQueue.hpp"
#include "imgui/magic_enum.hpp"
#include <magic_enum.hpp>
namespace metaforce {
void CInputGenerator::Update(float dt, CArchitectureQueue& queue) {
@@ -50,8 +52,7 @@ void CInputGenerator::controllerAdded(uint32_t which) noexcept {
}
void CInputGenerator::controllerRemoved(uint32_t which) noexcept {
auto* it =
std::find_if(m_state.begin(), m_state.end(), [&which](const auto& s) { return s.m_which == which; });
auto it = std::find_if(m_state.begin(), m_state.end(), [&which](const auto& s) { return s.m_which == which; });
if (it == m_state.end()) {
return;
}