mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-23 20:09:33 -05:00
Implemented camera aspect ratio hooks
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#include "SWA.inl"
|
||||
#include "PadState.h"
|
||||
|
||||
namespace SWA
|
||||
{
|
||||
class CInputState // : public Hedgehog::Base::CSynchronizedObject
|
||||
{
|
||||
public:
|
||||
// TODO: Hedgehog::Base::TSynchronizedPtr<CInputState>*
|
||||
inline static xpointer<CInputState>* ms_pInstance = (xpointer<CInputState>*)g_memory.Translate(0x833671EC);
|
||||
|
||||
// TODO: Hedgehog::Base::TSynchronizedPtr<CInputState>
|
||||
static CInputState* GetInstance();
|
||||
|
||||
SPadState m_PadStates[40];
|
||||
SWA_INSERT_PADDING(0x50);
|
||||
be<uint32_t> m_CurrentPadStateIndex;
|
||||
SWA_INSERT_PADDING(0x04);
|
||||
|
||||
const SPadState& GetPadState() const;
|
||||
};
|
||||
}
|
||||
|
||||
#include "InputState.inl"
|
||||
Reference in New Issue
Block a user