Skip to content

Commit

Permalink
Merge pull request #3 from iriv24/iriv24-clock-fix
Browse files Browse the repository at this point in the history
Always remove the start clock window when closing the menu
  • Loading branch information
Pawkkie authored Oct 4, 2024
2 parents c2f99f0 + eca0010 commit 2a8042f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/start_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -550,12 +550,10 @@ static void RemoveExtraStartMenuWindows(void)
ClearStdWindowAndFrameToTransparent(sBattlePyramidFloorWindowId, FALSE);
RemoveWindow(sBattlePyramidFloorWindowId);
}
else
{
ClearStdWindowAndFrameToTransparent(sStartClockWindowId, FALSE);
// CopyWindowToVram(sStartClockWindowId, COPYWIN_GFX);
RemoveWindow(sStartClockWindowId);
}

ClearStdWindowAndFrameToTransparent(sStartClockWindowId, FALSE);
// CopyWindowToVram(sStartClockWindowId, COPYWIN_GFX);
RemoveWindow(sStartClockWindowId);
}

static bool32 PrintStartMenuActions(s8 *pIndex, u32 count)
Expand Down

0 comments on commit 2a8042f

Please sign in to comment.