diff --git a/src/FileBrowser.cpp b/src/FileBrowser.cpp index af10ddb..ee15af3 100644 --- a/src/FileBrowser.cpp +++ b/src/FileBrowser.cpp @@ -1432,6 +1432,11 @@ void FileBrowser::ClearSelections() } void FileBrowser::ShowDeviceAndROM() +{ + ShowDeviceAndROM( roms->ROMNames[roms->currentROMIndex] ); +} + +void FileBrowser::ShowDeviceAndROM( const char* ROMName ) { char buffer[256]; u32 textColour = RGBA(0, 0, 0, 0xff); @@ -1443,7 +1448,7 @@ void FileBrowser::ShowDeviceAndROM() snprintf(buffer, 256, "Device %2d %*s\r\n" , *deviceID , roms->GetLongestRomNameLen() - , roms->ROMNames[roms->currentROMIndex] + , ROMName ); screenMain->PrintText(false, x, y, buffer, textColour, bgColour); #endif diff --git a/src/FileBrowser.h b/src/FileBrowser.h index 2700ea6..04fe600 100644 --- a/src/FileBrowser.h +++ b/src/FileBrowser.h @@ -187,6 +187,8 @@ public: void ClearSelections(); void ShowDeviceAndROM(); + void ShowDeviceAndROM( const char* ROMName ); + void ClearScreen(); diff --git a/src/main.cpp b/src/main.cpp index a4ce00a..558e025 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -651,7 +651,7 @@ EmulatingMode BeginEmulating(FileBrowser* fileBrowser, const char* filenameForIc { pi1581.Insert(diskImage); fileBrowser->DisplayDiskInfo(diskImage, filenameForIcon); - fileBrowser->ShowDeviceAndROM(); + fileBrowser->ShowDeviceAndROM( roms.ROMName1581 ); return EMULATING_1581; } else