mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-16 15:37:01 +00:00
Lots of Windows fixes; add D3D12; more boo decoupling
This commit is contained in:
@@ -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) {
|
||||
@@ -49,8 +51,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user