diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-08-25 17:44:52 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-09-04 20:25:54 +0200 |
commit | a040929c90055b520d52fc062b297578ab119800 (patch) | |
tree | 6b7a632d3cab4473b74f7d55ddfbb169a66fb6c8 /src/core/loader/deconstructed_rom_directory.cpp | |
parent | loader: Add NSP file type and NSP-specific errors (diff) | |
download | yuzu-a040929c90055b520d52fc062b297578ab119800.tar yuzu-a040929c90055b520d52fc062b297578ab119800.tar.gz yuzu-a040929c90055b520d52fc062b297578ab119800.tar.bz2 yuzu-a040929c90055b520d52fc062b297578ab119800.tar.lz yuzu-a040929c90055b520d52fc062b297578ab119800.tar.xz yuzu-a040929c90055b520d52fc062b297578ab119800.tar.zst yuzu-a040929c90055b520d52fc062b297578ab119800.zip |
Diffstat (limited to 'src/core/loader/deconstructed_rom_directory.cpp')
-rw-r--r-- | src/core/loader/deconstructed_rom_directory.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/loader/deconstructed_rom_directory.cpp b/src/core/loader/deconstructed_rom_directory.cpp index 921b899e2..1ae4bb656 100644 --- a/src/core/loader/deconstructed_rom_directory.cpp +++ b/src/core/loader/deconstructed_rom_directory.cpp @@ -61,7 +61,6 @@ AppLoader_DeconstructedRomDirectory::AppLoader_DeconstructedRomDirectory(FileSys if (nacp_file != nullptr) { FileSys::NACP nacp(nacp_file); - title_id = nacp.GetTitleId(); name = nacp.GetApplicationName(); } } @@ -120,6 +119,7 @@ ResultStatus AppLoader_DeconstructedRomDirectory::Load( } auto& kernel = Core::System::GetInstance().Kernel(); + title_id = metadata.GetTitleID(); process->program_id = metadata.GetTitleID(); process->svc_access_mask.set(); process->resource_limit = @@ -159,8 +159,6 @@ ResultStatus AppLoader_DeconstructedRomDirectory::ReadIcon(std::vector<u8>& buff } ResultStatus AppLoader_DeconstructedRomDirectory::ReadProgramId(u64& out_program_id) { - if (name.empty()) - return ResultStatus::ErrorNoControl; out_program_id = title_id; return ResultStatus::Success; } |