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/Resource/resResourceGameData.cpp | |
| parent | 88bcc9eec1481b47361dc717c83e4953e8929a2b (diff) | |
Add #ifdef declarations for NON_MATCHING code
Diffstat (limited to 'src/KingSystem/Resource/resResourceGameData.cpp')
| -rw-r--r-- | src/KingSystem/Resource/resResourceGameData.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/KingSystem/Resource/resResourceGameData.cpp b/src/KingSystem/Resource/resResourceGameData.cpp index cc315128..f080df8a 100644 --- a/src/KingSystem/Resource/resResourceGameData.cpp +++ b/src/KingSystem/Resource/resResourceGameData.cpp @@ -163,7 +163,7 @@ KSYS_ALWAYS_INLINE inline bool tryGetVector(const al::ByamlIter& value_iter, T* } } // namespace -// NON_MATCHING: +#ifdef NON_MATCHING // * stack layout and reordering (possibly caused by the stack differences). // * In init_string_array_flag_config, some calls to memcpy (for string copies) are replaced // with memset and calcLength() is optimized out. @@ -404,6 +404,7 @@ void GameData::doCreate_(u8* data, u32, sead::Heap*) { gdt::FlagType::Vector4fArray, init_vector_array_flag_config, init_vector_array_child_flag_config); } +#endif void GameData::loadDebugData(gdt::FlagDebugData* data, const al::ByamlIter& iter) { if (!data) |
