mirror of
https://github.com/zeldaret/oot
synced 2026-05-23 06:54:24 -04: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user