mirror of
https://github.com/LIV2/amiberry.git
synced 2025-12-06 06:32:45 +00:00
refactor: revert vbi changes #1515
This commit is contained in:
parent
75572f4224
commit
1ef97eed34
@ -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;
|
||||
|
||||
|
||||
@ -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())
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user