This commit is contained in:
Agent X 2024-06-24 11:25:54 -04:00
parent ac805bf94d
commit bbe5ba9819

View file

@ -73,7 +73,7 @@ void player_palettes_read(const char* palettesPath, bool appendPalettes) {
while ((dir = readdir(d)) != NULL) { while ((dir = 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", dir->d_name);
// strip the name before the . // strip the name before the .
char* c = path; char* c = path;