diff options
| author | mike8699 <mikebuntu68@gmail.com> | 2024-12-31 15:11:25 -0500 |
|---|---|---|
| committer | mike8699 <mikebuntu68@gmail.com> | 2025-01-05 19:06:26 -0500 |
| commit | f9da67860b7e6cc55bf48c251c8ecfd2bcde6369 (patch) | |
| tree | 438ca9d541ad37d2ef42495db2bc7abdb316fa98 /src/Main/Player/LinkState.cpp | |
| parent | 82ba3ff31176383a6cd7902aaf6e2941d039e02e (diff) | |
Decompile `GetLinkState` arm9 function
This is not part of the `LinkStateItem` class, but it is called by
a method in that class. I wasn't sure the best place to put this.
Diffstat (limited to 'src/Main/Player/LinkState.cpp')
| -rw-r--r-- | src/Main/Player/LinkState.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Main/Player/LinkState.cpp b/src/Main/Player/LinkState.cpp new file mode 100644 index 00000000..316e3f50 --- /dev/null +++ b/src/Main/Player/LinkState.cpp @@ -0,0 +1,5 @@ +#include "Player/LinkStateBase.hpp" + +unk32 GetLinkState(s32 index) { + return (unk32)gLinkStates[index]; +} |
