mirror of
https://github.com/zeldaret/botw
synced 2026-07-08 13:46:25 -04:00
Revert "Add #ifdef declarations for NON_MATCHING code"
This reverts commit 42807160cf.
It makes searching for NON_MATCHING comment descriptions much less
convenient in most text editors or IDEs, and we want the function
CSV to be the single source of truth for function statuses. Having
a function marked as matching but not built because of a stray #ifdef
would be bad.
This commit is contained in:
@@ -2457,8 +2457,7 @@ bool shouldLogFlagChange(const sead::SafeString& flag_name, FlagType type) {
|
||||
return sConfig.shouldLog(flag_name, event_type);
|
||||
}
|
||||
|
||||
// reorderings (which result in other small differences)
|
||||
#ifdef NON_MATCHING
|
||||
// NON_MATCHING: reorderings (which result in other small differences)
|
||||
sead::Color4f getFlagColor(FlagType type) {
|
||||
if (s32(type) == FlagType::Bool || s32(type) == FlagType::BoolArray)
|
||||
return sead::Color4f::cRed;
|
||||
@@ -2476,6 +2475,5 @@ sead::Color4f getFlagColor(FlagType type) {
|
||||
|
||||
return sead::Color4f::cBlue;
|
||||
}
|
||||
#endif
|
||||
|
||||
} // namespace ksys::gdt
|
||||
|
||||
Reference in New Issue
Block a user