Implement 3dsx RomFS
This commit is contained in:
parent
f7b4f44adf
commit
d60a9be5c6
3 changed files with 61 additions and 3 deletions
|
@ -116,7 +116,15 @@ ResultStatus LoadFile(const std::string& filename) {
|
|||
|
||||
//3DSX file format...
|
||||
case FileType::THREEDSX:
|
||||
return AppLoader_THREEDSX(std::move(file), filename_filename).Load();
|
||||
{
|
||||
AppLoader_THREEDSX app_loader(std::move(file), filename_filename, filename);
|
||||
// Load application and RomFS
|
||||
if (ResultStatus::Success == app_loader.Load()) {
|
||||
Service::FS::RegisterArchiveType(Common::make_unique<FileSys::ArchiveFactory_RomFS>(app_loader), Service::FS::ArchiveIdCode::RomFS);
|
||||
return ResultStatus::Success;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
// Standard ELF file format...
|
||||
case FileType::ELF:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue