Skip to content

Commit

Permalink
Fix Dawn Of screen crashing with 4th glitch (#718)
Browse files Browse the repository at this point in the history
  • Loading branch information
Archez authored Jun 26, 2024
1 parent 1f3ca03 commit 72f6fd1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mm/src/overlays/gamestates/ovl_daytelop/z_daytelop.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "interface/icon_item_gameover_static/icon_item_gameover_static.h"

#include "BenPort.h"
#include "assets/2s2h_assets.h"

// unused
UNK_TYPE D_808158E0[] = {
Expand Down Expand Up @@ -126,6 +127,9 @@ TexturePtr sHoursLeftTextures[] = {
gDaytelop72HoursNESTex,
gDaytelop48HoursNESTex,
gDaytelop24HoursNESTex,

// 2S2H [Port] Added empty texture to support "Dawn of" with the 4th day glitch and prevent crashing
gEmptyTexture,
};

void DayTelop_Draw(DayTelopState* this) {
Expand Down

0 comments on commit 72f6fd1

Please # to comment.