From 4d19ede8b3c301e73a9e12d8d496b6cf2097016b Mon Sep 17 00:00:00 2001 From: Jorj Bauer Date: Mon, 28 Dec 2020 22:59:35 -0500 Subject: [PATCH] fix drawing of volume bar - needs to use the scaled method --- bios.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bios.cpp b/bios.cpp index 0f65b8b..aca9185 100644 --- a/bios.cpp +++ b/bios.cpp @@ -882,7 +882,7 @@ void BIOS::DrawHardwareMenu() uint16_t volCutoff = 300.0 * (float)((float) g_volume / 15.0); for (uint8_t y=234; y<=235; y++) { for (uint16_t x = 0; x< 300; x++) { - g_display->drawPixel( x, y, x <= volCutoff ? 0xFFFF : 0x0010 ); + g_display->drawUIPixel( x, y, x <= volCutoff ? 0xFFFF : 0x0010 ); } } }