Skip to content

Commit

Permalink
refactor: Updated recognized ROM filename extensions
Browse files Browse the repository at this point in the history
Remove ADF and KEY, add ROZ.
This syncs it to be identical to WinUAE
  • Loading branch information
midwan committed Dec 9, 2024
1 parent bef8f60 commit 019a5ad
Showing 1 changed file with 1 addition and 1 deletion.
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", "ROM", "bin", "BIN", "adf", "ADF", "key", "KEY", "a500", "A500", "a1200", "A1200", "a4000", "A4000", "cdtv", "CDTV", "cd32", "CD32" };
static const std::vector<std::string> extensions = { "rom", "ROM", "roz", "ROZ", "bin", "BIN", "a500", "A500", "a1200", "A1200", "a4000", "A4000", "cdtv", "CDTV", "cd32", "CD32" };
if (std::find(extensions.begin(), extensions.end(), ext) != extensions.end())
return 1;

Expand Down

0 comments on commit 019a5ad

Please sign in to comment.