fs display hdd at the top of mount list for quick access, change xci dump folder to Gamecard.

This commit is contained in:
ITotalJustice
2025-05-24 22:31:24 +01:00
parent 798ac47487
commit 22ebfd4a82
2 changed files with 6 additions and 5 deletions

View File

@@ -600,10 +600,6 @@ FsView::FsView(Menu* menu, const fs::FsPath& path, const FsEntry& entry, ViewSid
SidebarEntryArray::Items mount_items; SidebarEntryArray::Items mount_items;
std::vector<FsEntry> fs_entries; std::vector<FsEntry> fs_entries;
for (const auto& e: FS_ENTRIES) {
fs_entries.emplace_back(e);
mount_items.push_back(i18n::get(e.name));
}
const auto stdio_locations = location::GetStdio(false); const auto stdio_locations = location::GetStdio(false);
for (const auto& e: stdio_locations) { for (const auto& e: stdio_locations) {
@@ -616,6 +612,11 @@ FsView::FsView(Menu* menu, const fs::FsPath& path, const FsEntry& entry, ViewSid
mount_items.push_back(e.name); mount_items.push_back(e.name);
} }
for (const auto& e: FS_ENTRIES) {
fs_entries.emplace_back(e);
mount_items.push_back(i18n::get(e.name));
}
options->Add(std::make_shared<SidebarEntryArray>("Mount"_i18n, mount_items, [this, fs_entries](s64& index_out){ options->Add(std::make_shared<SidebarEntryArray>("Mount"_i18n, mount_items, [this, fs_entries](s64& index_out){
App::PopToMenu(); App::PopToMenu();
SetFs(fs_entries[index_out].root, fs_entries[index_out]); SetFs(fs_entries[index_out].root, fs_entries[index_out]);

View File

@@ -142,7 +142,7 @@ auto BuildFullDumpPath(DumpFileType type, std::span<const ApplicationEntry> entr
out = base_path + GetDumpTypeStr(type); out = base_path + GetDumpTypeStr(type);
} }
return fs::AppendPath("/dumps/XCI", out); return fs::AppendPath("/dumps/Gamecard", out);
} }
// @Gc is the mount point, S is for secure partion, the remaining is the // @Gc is the mount point, S is for secure partion, the remaining is the