mirror of
https://github.com/zeldaret/botw
synced 2026-06-20 07:40:59 -04:00
Add #ifdef declarations for NON_MATCHING code
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user