feat: expose drive labels to userspace, render in Files
This commit is contained in:
1 parent
38b1f8a7ef
commit
7fa2b6c54b
20 files changed
+261
-38
No files matched your search
@@ -122,4 +122,8 @@ namespace Montauk {
|
||||
static int Sys_DriveList(int* outDrives, int maxEntries) {
|
||||
return Fs::Vfs::VfsDriveList(outDrives, maxEntries);
|
||||
}
|
||||
|
||||
static int Sys_DriveLabel(int driveNumber, char* outLabel, int maxLen) {
|
||||
return Fs::Vfs::VfsDriveLabel(driveNumber, outLabel, maxLen);
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user