Show the filesystem types and origins in the list (except ISO)

This commit is contained in:
Henrik Rydgård committed 2024-11-26 00:36:58 +01:00
1 parent e95d9b15b4
commit 1eadea2589
10 files changed
+29 -13

No files matched your search

+5 -1
View File
@@ -208,7 +208,11 @@ static void DrawFilesystemBrowser(ImConfig &cfg) {
for (auto &fs : pspFileSystem.GetMounts()) {
std::string path;
if (ImGui::TreeNode(fs.prefix.c_str())) {
char desc[256];
fs.system->Describe(desc, sizeof(desc));
char fsTitle[256];
snprintf(fsTitle, sizeof(fsTitle), "%s - %s", fs.prefix.c_str(), desc);
if (ImGui::TreeNode(fsTitle)) {
auto system = fs.system;
RecurseFileSystem(system.get(), path);
ImGui::TreePop();