Implement SDMC Write-Only archive

This commit is contained in:
wheremyfoodat 2024-01-23 21:56:24 +02:00
parent 76a14b3bae
commit 313620cad9
4 changed files with 24 additions and 7 deletions

View file

@ -97,6 +97,7 @@ ArchiveBase* FSService::getArchiveFromID(u32 id, const FSPath& archivePath) {
case ArchiveID::SystemSaveData: return &systemSaveData;
case ArchiveID::SDMC: return &sdmc;
case ArchiveID::SDMCWriteOnly: return &sdmcWriteOnly;
case ArchiveID::SavedataAndNcch: return &ncch; // This can only access NCCH outside of FSPXI
default:
Helpers::panic("Unknown archive. ID: %d\n", id);