mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-11-22 22:13:49 +00:00
loader: fix homebrew nro registration
This commit is contained in:
parent
aae9eea532
commit
76880b84f9
1 changed files with 6 additions and 6 deletions
|
@ -275,12 +275,12 @@ AppLoader_NRO::LoadResult AppLoader_NRO::Load(Kernel::KProcess& process, Core::S
|
||||||
return {ResultStatus::ErrorLoadingNRO, {}};
|
return {ResultStatus::ErrorLoadingNRO, {}};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (romfs != nullptr) {
|
u64 program_id{};
|
||||||
system.GetFileSystemController().RegisterProcess(
|
ReadProgramId(program_id);
|
||||||
process.GetProcessId(), {},
|
system.GetFileSystemController().RegisterProcess(
|
||||||
std::make_unique<FileSys::RomFSFactory>(*this, system.GetContentProvider(),
|
process.GetProcessId(), program_id,
|
||||||
system.GetFileSystemController()));
|
std::make_unique<FileSys::RomFSFactory>(*this, system.GetContentProvider(),
|
||||||
}
|
system.GetFileSystemController()));
|
||||||
|
|
||||||
is_loaded = true;
|
is_loaded = true;
|
||||||
return {ResultStatus::Success, LoadParameters{Kernel::KThread::DefaultThreadPriority,
|
return {ResultStatus::Success, LoadParameters{Kernel::KThread::DefaultThreadPriority,
|
||||||
|
|
Loading…
Reference in a new issue