Skip to content

Commit

Permalink
refactor: revert vbi changes #1515
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Nov 25, 2024
1 parent 618d72f commit cc3d3a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/osdep/amiberry_gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ static int isromext(const std::string& path, bool deepscan)
return 0;
const std::string ext = path.substr(ext_pos + 1);

static const std::vector<std::string> extensions = { "rom", "bin", "vbi", "adf", "key", "a500", "a1200", "a4000", "cdtv", "cd32" };
static const std::vector<std::string> extensions = { "rom", "bin", "adf", "key", "a500", "a1200", "a4000", "cdtv", "cd32" };
if (std::find(extensions.begin(), extensions.end(), ext) != extensions.end())
return 1;

Expand Down
4 changes: 2 additions & 2 deletions src/osdep/gui/PanelExpansions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ class ExpansionsActionListener : public gcn::ActionListener

if (source == btnScsiRomChooser)
{
const char* filter[] = { ".rom", ".bin", ".vbi", "\0" };
const char* filter[] = { ".rom", ".bin", "\0" };
std::string full_path = SelectFile("Select ROM", get_rom_path(), filter);
if (!full_path.empty())
{
Expand All @@ -901,7 +901,7 @@ class ExpansionsActionListener : public gcn::ActionListener
}
else if (source == btnCpuBoardRomChooser)
{
const char* filter[] = { ".rom", ".bin", ".vbi", "\0" };
const char* filter[] = { ".rom", ".bin", "\0" };
std::string full_path = SelectFile("Select ROM", get_rom_path(), filter);
if (!full_path.empty())
{
Expand Down

0 comments on commit cc3d3a7

Please sign in to comment.