Skip to content

Commit

Permalink
Fixes for dumping with LayeredFS layout
Browse files Browse the repository at this point in the history
  • Loading branch information
v1993 committed Jun 11, 2024
1 parent 92ad510 commit e3a4a0e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/UsbDeviceClient.vala
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,12 @@ namespace NXDumpClient {
}
}

// I've discussed this on nxdumptool discord; newer ABI should include
// TODO: utilize new ABI commands instead of guessing from prefixes
private bool is_mass_transfer_path(string path) {
const string[] PATHS = {
"/NCA FS/User/Extracted",
"/NCA FS/System/Extracted",
"/atmosphere/contents",
};

foreach(unowned var prefix in PATHS) {
Expand Down Expand Up @@ -130,7 +131,8 @@ namespace NXDumpClient {
"/NCA/User",
"/NCA/System",
"/HFS/Extracted",
"/HFS/Raw"
"/HFS/Raw",
"/atmosphere/contents",
};

bool preserve_path = false;
Expand Down

0 comments on commit e3a4a0e

Please sign in to comment.