1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-25 09:45:02 +00:00

Match z_debug for retail (#1694)

* match z_debug for retail

* prototype

* directive
This commit is contained in:
fig02 2024-02-02 12:44:31 -05:00 committed by GitHub
parent 4e2d2885bc
commit 23de92d2f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

@ -763,7 +763,9 @@ s32 func_800635D0(s32);
void Regs_Init(void);
void DebugCamera_ScreenText(u8 x, u8 y, const char* text);
void DebugCamera_ScreenTextColored(u8 x, u8 y, u8 colorIndex, const char* text);
#if OOT_DEBUG
void Regs_UpdateEditor(Input* input);
#endif
void Debug_DrawText(GraphicsContext* gfxCtx);
void DebugDisplay_Init(void);
DebugDispObject* DebugDisplay_AddObject(f32 posX, f32 posY, f32 posZ, s16 rotX, s16 rotY, s16 rotZ, f32 scaleX,

View file

@ -153,6 +153,7 @@ void DebugCamera_DrawScreenText(GfxPrint* printer) {
}
}
#if OOT_DEBUG
/**
* Updates the state of the Reg Editor according to user input.
* Also contains a controller rumble test that can be interfaced with via related REGs.
@ -269,6 +270,7 @@ void Regs_DrawEditor(GfxPrint* printer) {
}
}
}
#endif
/**
* Draws the Reg Editor and Debug Camera text on screen
@ -291,9 +293,11 @@ void Debug_DrawText(GraphicsContext* gfxCtx) {
DebugCamera_DrawScreenText(&printer);
}
#if OOT_DEBUG
if (gRegEditor->regPage != 0) {
Regs_DrawEditor(&printer);
}
#endif
sDebugCamTextEntryCount = 0;