mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-03 10:10:06 -06:00
14 lines
336 B
C++
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];
|
|
}
|
|
}
|