From 1475e6af7bb828b68aedbef71af2b1cc1e057279 Mon Sep 17 00:00:00 2001 From: Archez Date: Thu, 19 Sep 2024 18:47:28 -0700 Subject: [PATCH] Fix 3ds clock fill texture position (#772) --- mm/2s2h/Enhancements/Graphics/3DSClock.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mm/2s2h/Enhancements/Graphics/3DSClock.cpp b/mm/2s2h/Enhancements/Graphics/3DSClock.cpp index b28db14bc..a88551db7 100644 --- a/mm/2s2h/Enhancements/Graphics/3DSClock.cpp +++ b/mm/2s2h/Enhancements/Graphics/3DSClock.cpp @@ -112,7 +112,8 @@ void Register3DSClock() { HudEditor_SetActiveElement(HUD_EDITOR_ELEMENT_CLOCK); OVERLAY_DISP = Gfx_DrawTexRectIA8(OVERLAY_DISP, (TexturePtr)gThreeDayClock3DSFillTex, CLOCK_SECTION_WIDTH, 12, - posX - CLOCK_SECTION_WIDTH, posY, CLOCK_SECTION_WIDTH, 12, 1 << 10, 1 << 10); + posX - CLOCK_SECTION_HALFWIDTH - CLOCK_SECTION_WIDTH, posY, + CLOCK_SECTION_WIDTH, 12, 1 << 10, 1 << 10); fillalpha = 64; if (gSaveContext.save.day == 2) {