Fix status bar overlap on small screens

This commit is contained in:
penfold42 2018-06-30 19:20:05 +10:00
parent ef975f0721
commit e053a2bb5b

View file

@ -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);