| 667 | } |
| 668 | |
| 669 | void BrowserLayout::ChangePartitionNAND(const fs::Partition partition, const bool update_contents) { |
| 670 | fs::Explorer *exp = nullptr; |
| 671 | switch(partition) { |
| 672 | case fs::Partition::PRODINFOF: { |
| 673 | exp = fs::GetPRODINFOFExplorer(); |
| 674 | break; |
| 675 | } |
| 676 | case fs::Partition::NANDSafe: { |
| 677 | exp = fs::GetNANDSafeExplorer(); |
| 678 | break; |
| 679 | } |
| 680 | case fs::Partition::NANDUser: { |
| 681 | exp = fs::GetNANDUserExplorer(); |
| 682 | break; |
| 683 | } |
| 684 | case fs::Partition::NANDSystem: { |
| 685 | exp = fs::GetNANDSystemExplorer(); |
| 686 | break; |
| 687 | } |
| 688 | default: { |
| 689 | return; |
| 690 | } |
| 691 | } |
| 692 | this->ChangePartitionExplorer(exp, update_contents); |
| 693 | } |
| 694 | |
| 695 | void BrowserLayout::ChangePartitionRemotePcDrive(const std::string &mount_name, const bool update_contents) { |
| 696 | this->ChangePartitionExplorer(fs::GetRemotePCExplorer(mount_name), update_contents); |
no test coverage detected