1
0
Fork 0
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:
cadmic 2024-01-30 10:54:38 -08:00 committed by GitHub
parent 6d09437c21
commit 9816f62129
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 42 additions and 52 deletions

View file

@ -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