Merge pull request #34 from penfold42/statusoverlap
Fix status bar overlap on small screens
This commit is contained in:
commit
8e9e0a5b28
1 changed files with 1 additions and 1 deletions
|
@ -893,7 +893,7 @@ void FileBrowser::ShowDeviceAndROM()
|
||||||
u32 textColour = RGBA(0, 0, 0, 0xff);
|
u32 textColour = RGBA(0, 0, 0, 0xff);
|
||||||
u32 bgColour = RGBA(0xff, 0xff, 0xff, 0xff);
|
u32 bgColour = RGBA(0xff, 0xff, 0xff, 0xff);
|
||||||
u32 x = 0; // 43 * 8
|
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]);
|
snprintf(buffer, 256, "Device %d %s\r\n", deviceID, roms->ROMNames[roms->currentROMIndex]);
|
||||||
screenMain->PrintText(false, x, y, buffer, textColour, bgColour);
|
screenMain->PrintText(false, x, y, buffer, textColour, bgColour);
|
||||||
|
|
Loading…
Reference in a new issue