From 777ab80d99c842239bfa60da2f0d4b2c5c348f8b Mon Sep 17 00:00:00 2001 From: penfold42 Date: Fri, 15 Jun 2018 18:33:41 +1000 Subject: [PATCH] Moved status bar to avoid overlap with 40 track BAM --- src/FileBrowser.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/FileBrowser.cpp b/src/FileBrowser.cpp index 98aedf7..34b5ffc 100644 --- a/src/FileBrowser.cpp +++ b/src/FileBrowser.cpp @@ -892,10 +892,11 @@ void FileBrowser::ShowDeviceAndROM() char buffer[256]; u32 textColour = RGBA(0, 0, 0, 0xff); u32 bgColour = RGBA(0xff, 0xff, 0xff, 0xff); - u32 y = screenMain->ScaleY(STATUS_BAR_POSITION_Y); + u32 x = 0; // 43 * 8 + 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, 43 * 8, y, buffer, textColour, bgColour); + snprintf(buffer, 256, "Device %d %s\r\n", deviceID, roms->ROMNames[roms->currentROMIndex]); + screenMain->PrintText(false, x, y, buffer, textColour, bgColour); } void FileBrowser::DisplayDiskInfo(DiskImage* diskImage, const char* filenameForIcon)