mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 13:35:12 +00:00
Enable directory sanity check for player palettes
This commit is contained in:
parent
28f96ebedf
commit
f348e03685
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ void player_palettes_read(const char* palettesPath, bool appendPalettes) {
|
||||||
char path[SYS_MAX_PATH] = { 0 };
|
char path[SYS_MAX_PATH] = { 0 };
|
||||||
while ((dir = os_readdir(d)) != NULL) {
|
while ((dir = os_readdir(d)) != NULL) {
|
||||||
// sanity check / fill path[]
|
// sanity check / fill path[]
|
||||||
//if (!directory_sanity_check(dir, lpath, path)) { continue; }
|
if (!directory_sanity_check(dir, lpath, path)) { continue; }
|
||||||
snprintf(path, SYS_MAX_PATH, "%s", os_get_dir_name(dir));
|
snprintf(path, SYS_MAX_PATH, "%s", os_get_dir_name(dir));
|
||||||
|
|
||||||
// strip the name before the .
|
// strip the name before the .
|
||||||
|
|
Loading…
Reference in a new issue