mirror of
https://github.com/zeldaret/oot
synced 2026-06-09 04:39:41 -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:
+3
-5
@@ -25,7 +25,7 @@ AudioMgr gAudioMgr;
|
||||
OSMesgQueue sSerialEventQueue;
|
||||
OSMesg sSerialMsgBuf[1];
|
||||
|
||||
#ifdef OOT_DEBUG
|
||||
#if OOT_DEBUG
|
||||
void Main_LogSystemHeap(void) {
|
||||
PRINTF(VT_FGCOL(GREEN));
|
||||
// "System heap size% 08x (% dKB) Start address% 08x"
|
||||
@@ -55,8 +55,7 @@ void Main(void* arg) {
|
||||
PRINTF("システムヒープ初期化 %08x-%08x %08x\n", systemHeapStart, fb, gSystemHeapSize);
|
||||
SystemHeap_Init((void*)systemHeapStart, gSystemHeapSize); // initializes the system heap
|
||||
|
||||
#ifdef OOT_DEBUG
|
||||
{
|
||||
if (OOT_DEBUG) {
|
||||
void* debugHeapStart;
|
||||
u32 debugHeapSize;
|
||||
|
||||
@@ -71,7 +70,6 @@ void Main(void* arg) {
|
||||
PRINTF("debug_InitArena(%08x, %08x)\n", debugHeapStart, debugHeapSize);
|
||||
DebugArena_Init(debugHeapStart, debugHeapSize);
|
||||
}
|
||||
#endif
|
||||
|
||||
Regs_Init();
|
||||
|
||||
@@ -80,7 +78,7 @@ void Main(void* arg) {
|
||||
osCreateMesgQueue(&sSerialEventQueue, sSerialMsgBuf, ARRAY_COUNT(sSerialMsgBuf));
|
||||
osSetEventMesg(OS_EVENT_SI, &sSerialEventQueue, NULL);
|
||||
|
||||
#ifdef OOT_DEBUG
|
||||
#if OOT_DEBUG
|
||||
Main_LogSystemHeap();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user