diff options
| author | AlexApps99 <alex.apps99@gmail.com> | 2021-07-26 21:58:51 +1200 |
|---|---|---|
| committer | AlexApps99 <alex.apps99@gmail.com> | 2021-07-26 23:05:19 +1200 |
| commit | 42807160cfb33af9f3cf2fa6b0ba98f232208cdb (patch) | |
| tree | 95b1b16a3f4cf7d0ab51e90b3d73e53f74ba7f2b /src/KingSystem/Utils/ParamIO.cpp | |
| parent | 88bcc9eec1481b47361dc717c83e4953e8929a2b (diff) | |
Add #ifdef declarations for NON_MATCHING code
Diffstat (limited to 'src/KingSystem/Utils/ParamIO.cpp')
| -rw-r--r-- | src/KingSystem/Utils/ParamIO.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/KingSystem/Utils/ParamIO.cpp b/src/KingSystem/Utils/ParamIO.cpp index 1fd9da6e..a5a75fa5 100644 --- a/src/KingSystem/Utils/ParamIO.cpp +++ b/src/KingSystem/Utils/ParamIO.cpp @@ -69,11 +69,13 @@ const char* ParamIO::getString(const agl::utl::ResParameterObj& obj, const char* return param.getData<const char>(); } -// NON_MATCHING: how the default_value Vec3f is stored on the stack +// how the default_value Vec3f is stored on the stack +#ifdef NON_MATCHING sead::Vector3f ParamIO::getVec3(const agl::utl::ResParameterObj& obj, const char* key, sead::Vector3f default_value, void*) const { const auto param = agl::utl::getResParameter(obj, key); return param.ptr() ? *param.getData<sead::Vector3f>() : default_value; } +#endif } // namespace ksys |
