FS: Stream RomFS from file instead of loading all of it to memory

This commit is contained in:
condut 2015-07-10 00:55:23 +03:00 • committed by Yuri Kunde Schlesner
commit c385b7767d

View file

@ -124,7 +124,7 @@ ResultStatus LoadFile(const std::string& filename) {
case FileType::CXI:
case FileType::CCI:
{
AppLoader_NCCH app_loader(std::move(file));
AppLoader_NCCH app_loader(std::move(file), filename);
// Load application and RomFS
if (ResultStatus::Success == app_loader.Load()) {