mirror of
https://github.com/hedge-dev/UnleashedRecomp
synced 2026-05-24 07:11:18 -04:00
14 lines
338 B
C++
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];
|
|
}
|
|
}
|