diff options
| author | Kiloku <mateus.sateles@protonmail.com> | 2025-02-02 15:46:06 -0300 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2025-02-02 13:44:58 -0600 |
| commit | 41cc11d0f15f5a0bf75894244b3c07d2e55813af (patch) | |
| tree | f6826981497846fc48a716991c8df3a649cb1c4c | |
| parent | b5d82c031df2c3d68c1b94a618ed79b25400f0b8 (diff) | |
Apply HUD aspect ratio to Beta boost gauge
| -rw-r--r-- | src/port/mods/PortEnhancements.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/port/mods/PortEnhancements.c b/src/port/mods/PortEnhancements.c index d41b1077..3c156bec 100644 --- a/src/port/mods/PortEnhancements.c +++ b/src/port/mods/PortEnhancements.c @@ -280,9 +280,9 @@ void OnBoostGaugeDraw(IEvent* event){ RCP_SetupDL(&gMasterDisp, SETUPDL_76_POINT); gDPSetPrimColor(gMasterDisp++, 0, 0, 255, 255, 255, 255); - Lib_TextureRect_CI8(&gMasterDisp, D_1012290, D_10126B0, 48, 22, OTRGetRectDimensionFromRightEdge(SCREEN_WIDTH - x), y, 1.0f, 1.0f); - Lib_TextureRect_CI8(&gMasterDisp, D_10126F0, D_1012750, 24, 4, OTRGetRectDimensionFromRightEdge(SCREEN_WIDTH - (x - 9)), y + 3, 1.0f, 1.0f); - Lib_TextureRect_RGBA16(&gMasterDisp, sBoostGaugeArrow[step], 32, 32, OTRGetRectDimensionFromRightEdge(SCREEN_WIDTH - (x - 6)), y - 1, 0.9f, 0.9f); + Lib_TextureRect_CI8(&gMasterDisp, D_1012290, D_10126B0, 48, 22, OTRGetRectDimensionFromRightEdgeOverride(SCREEN_WIDTH - x), y, 1.0f, 1.0f); + Lib_TextureRect_CI8(&gMasterDisp, D_10126F0, D_1012750, 24, 4, OTRGetRectDimensionFromRightEdgeOverride(SCREEN_WIDTH - (x - 9)), y + 3, 1.0f, 1.0f); + Lib_TextureRect_RGBA16(&gMasterDisp, sBoostGaugeArrow[step], 32, 32, OTRGetRectDimensionFromRightEdgeOverride(SCREEN_WIDTH - (x - 6)), y - 1, 0.9f, 0.9f); } void OnBombCounterDraw(IEvent* ev){ |
