Merge pull request #875 from lioncash/statics
DiscIO: Make the unordered set in IsSoundFile static
This commit is contained in:
commit
81048f38f8
|
@ -38,7 +38,7 @@ bool IsSoundFile(const std::string& filename)
|
||||||
SplitPath(filename, nullptr, nullptr, &extension);
|
SplitPath(filename, nullptr, nullptr, &extension);
|
||||||
std::transform(extension.begin(), extension.end(), extension.begin(), ::tolower);
|
std::transform(extension.begin(), extension.end(), extension.begin(), ::tolower);
|
||||||
|
|
||||||
std::unordered_set<std::string> extensions = {
|
static std::unordered_set<std::string> extensions = {
|
||||||
".adp", // 1080 Avalanche, Crash Bandicoot, etc.
|
".adp", // 1080 Avalanche, Crash Bandicoot, etc.
|
||||||
".adx", // Sonic Adventure 2 Battle, etc.
|
".adx", // Sonic Adventure 2 Battle, etc.
|
||||||
".afc", // Zelda WW
|
".afc", // Zelda WW
|
||||||
|
|
Loading…
Reference in New Issue