mirror of
https://github.com/LIV2/amiberry.git
synced 2025-12-06 06:32:45 +00:00
bugfix: Custom roms would not show up in GUI, after loading a config (fixes #1450)
This commit is contained in:
parent
f0c5ef0114
commit
5cdc5b2ad9
@ -357,10 +357,12 @@ void refresh_rom_list(ROMListModel* rom_list, const gcn::DropDown* cboROM, char*
|
||||
{
|
||||
// ROM file not in the list of known ROMs
|
||||
auto* newrom = new AvailableROM();
|
||||
newrom->Path = prefsFile;
|
||||
newrom->Name = extract_filename(prefsFile);
|
||||
newrom->Name = remove_file_extension(newrom->Name);
|
||||
newrom->ROMType = romType;
|
||||
lstAvailableROMs.push_back(newrom);
|
||||
RefreshPanelROM();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user