Files
UnleashedRecomp-hedge-dev/UnleashedRecomp/api/SWA/System/InputState.inl
2024-10-19 20:40:15 +01:00

14 lines
338 B
C++

namespace SWA
{
// TODO: Hedgehog::Base::TSynchronizedPtr<CInputState>
inline CInputState* CInputState::GetInstance()
{
return *(xpointer<CInputState>*)g_memory.Translate(0x833671EC);
}
inline const SPadState& CInputState::GetPadState() const
{
return m_PadStates[m_CurrentPadStateIndex];
}
}