1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-15 06:06:04 +00:00

Remove reference to Cutscene_DrawDebugInfo in retail (#1913)

This commit is contained in:
cadmic 2024-03-02 13:14:48 -08:00 committed by GitHub
parent 0407594107
commit 9e5df5ba79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2204,7 +2204,8 @@ void Cutscene_ProcessScript(PlayState* play, CutsceneContext* csCtx, u8* script)
void CutsceneHandler_RunScript(PlayState* play, CutsceneContext* csCtx) { void CutsceneHandler_RunScript(PlayState* play, CutsceneContext* csCtx) {
if (gSaveContext.save.cutsceneIndex >= 0xFFF0) { if (gSaveContext.save.cutsceneIndex >= 0xFFF0) {
if (OOT_DEBUG && BREG(0) != 0) { #if OOT_DEBUG
if (BREG(0) != 0) {
Gfx* displayList; Gfx* displayList;
Gfx* prevDisplayList; Gfx* prevDisplayList;
@ -2218,8 +2219,11 @@ void CutsceneHandler_RunScript(PlayState* play, CutsceneContext* csCtx) {
Gfx_Close(prevDisplayList, displayList); Gfx_Close(prevDisplayList, displayList);
POLY_OPA_DISP = displayList; POLY_OPA_DISP = displayList;
if (1) {}
CLOSE_DISPS(play->state.gfxCtx, "../z_demo.c", 4108); CLOSE_DISPS(play->state.gfxCtx, "../z_demo.c", 4108);
} }
#endif
csCtx->curFrame++; csCtx->curFrame++;
if (OOT_DEBUG && R_USE_DEBUG_CUTSCENE) { if (OOT_DEBUG && R_USE_DEBUG_CUTSCENE) {