mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Show the filesystem types and origins in the list (except ISO)
This commit is contained in:
1 parent
e95d9b15b4
commit
1eadea2589
10 files changed
+29
-13
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user