refactor: revert vbi changes #1515

This commit is contained in:
Dimitris Panokostas 2024-11-24 01:42:54 +01:00
parent 75572f4224
commit 1ef97eed34
No known key found for this signature in database
GPG Key ID: 330156A68E9E0929
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -891,7 +891,7 @@ public:
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())
{
@ -908,7 +908,7 @@ public:
}
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())
{