Files
UnleashedRecomp-hedge-dev/UnleashedRecomp/api/SWA/System/InputState.inl

14 lines
336 B
C++

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