Hide "System Volume Information" folder (#184)

## Summary

* Hide "System Volume Information" folder
* It's a FAT filesystem folder, shouldn't be used

## Additional Context

* Fixes https://github.com/daveallie/crosspoint-reader/issues/177
This commit is contained in:
Dave Allie
2025-12-31 08:27:17 +10:00
committed by GitHub
parent 57b075ec97
commit 026733a4fe

View File

@@ -42,7 +42,7 @@ void FileSelectionActivity::loadFiles() {
char name[128]; char name[128];
for (auto file = root.openNextFile(); file; file = root.openNextFile()) { for (auto file = root.openNextFile(); file; file = root.openNextFile()) {
file.getName(name, sizeof(name)); file.getName(name, sizeof(name));
if (name[0] == '.') { if (name[0] == '.' || strcmp(name, "System Volume Information") == 0) {
file.close(); file.close();
continue; continue;
} }