From e053a2bb5b81de6a020e33a3893db48200640e61 Mon Sep 17 00:00:00 2001 From: penfold42 Date: Sat, 30 Jun 2018 19:20:05 +1000 Subject: [PATCH] Fix status bar overlap on small screens --- src/FileBrowser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FileBrowser.cpp b/src/FileBrowser.cpp index 27e9f82..4b96d15 100644 --- a/src/FileBrowser.cpp +++ b/src/FileBrowser.cpp @@ -893,7 +893,7 @@ void FileBrowser::ShowDeviceAndROM() u32 textColour = RGBA(0, 0, 0, 0xff); u32 bgColour = RGBA(0xff, 0xff, 0xff, 0xff); u32 x = 0; // 43 * 8 - u32 y = screenMain->ScaleY(STATUS_BAR_POSITION_Y - 20); + u32 y = screenMain->ScaleY(STATUS_BAR_POSITION_Y) - 20; snprintf(buffer, 256, "Device %d %s\r\n", deviceID, roms->ROMNames[roms->currentROMIndex]); screenMain->PrintText(false, x, y, buffer, textColour, bgColour);