Skip to content

Commit af4eb81

Browse files
authored
new allowed extensions
1 parent b798272 commit af4eb81

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/path_utils.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ namespace AsyncIO::PathUtils {
88
const std::array ExtensionWhitelist {
99
"txt", "dat", "json", "xml", "csv",
1010
"jpg", "jpeg", "png", "vtf", "vmt",
11-
"mp3", "wav", "ogg"
11+
"mp3", "wav", "ogg", "vcd", "dem",
12+
"gma"
1213
};
1314

1415
template<class T>
@@ -47,4 +48,4 @@ namespace AsyncIO::PathUtils {
4748
// Remove ./ and ../ from path, and return true if path valid (invalid if path goes past the root dir)
4849
return V_RemoveDotSlashes(&fileName[0], '/') && !V_IsAbsolutePath(fileName.c_str());
4950
}
50-
}
51+
}

0 commit comments

Comments
 (0)