mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 22:44:30 +00:00
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 f7c4cae7c3
.
* Replace VI_MODE_EDITOR_INACTIVE, take 2
* Revert EnBom_Draw
This commit is contained in:
parent
6d09437c21
commit
9816f62129
14 changed files with 42 additions and 52 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue