diff options
| author | cadmic <cadmic24@gmail.com> | 2024-01-30 10:54:38 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-30 13:54:38 -0500 |
| commit | 9816f62129b26b5d1068e2fa2ea887ad3fdcfd88 (patch) | |
| tree | cd6390c2cf4f3c08cec43aa1ce4022a0aecd3296 /docs | |
| parent | 6d09437c2162a156a843f3f10b1f864437eee6ed (diff) | |
Define OOT_DEBUG=0 in retail builds (#1658)
* Define OOT_DEBUG=0 in retail builds
* Fix ifndef
* Replace VI_MODE_EDITOR_INACTIVE
* Revert "Replace VI_MODE_EDITOR_INACTIVE"
This reverts commit f7c4cae7c3b3d9fdc56e97183690c05f2dcec215.
* Replace VI_MODE_EDITOR_INACTIVE, take 2
* Revert EnBom_Draw
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/retail_versions.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/retail_versions.md b/docs/retail_versions.md index 6c34869f9..e39a047c8 100644 --- a/docs/retail_versions.md +++ b/docs/retail_versions.md @@ -27,9 +27,9 @@ an `if` block). Since retail MM versions use the same compiler flags as retail OOT, checking MM decomp for similar code can help. We can disable code that was removed in retail builds by adding -`#ifdef OOT_DEBUG` around these parts of the code. In order to keep the code -readable, we should try to minimize the amount of `#ifdef` noise whenever -possible. +`#if OOT_DEBUG ... #endif` or `if (OOT_DEBUG) { ... }` around these parts of the +code. In order to keep the code readable, we should try to minimize the amount of +`#if` noise whenever possible. ## Setup |
