diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/loader/nro.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/loader/nro.cpp b/src/core/loader/nro.cpp index 83371fcbd..f8225d697 100644 --- a/src/core/loader/nro.cpp +++ b/src/core/loader/nro.cpp | |||
| @@ -275,12 +275,12 @@ AppLoader_NRO::LoadResult AppLoader_NRO::Load(Kernel::KProcess& process, Core::S | |||
| 275 | return {ResultStatus::ErrorLoadingNRO, {}}; | 275 | return {ResultStatus::ErrorLoadingNRO, {}}; |
| 276 | } | 276 | } |
| 277 | 277 | ||
| 278 | if (romfs != nullptr) { | 278 | u64 program_id{}; |
| 279 | system.GetFileSystemController().RegisterProcess( | 279 | ReadProgramId(program_id); |
| 280 | process.GetProcessId(), {}, | 280 | system.GetFileSystemController().RegisterProcess( |
| 281 | std::make_unique<FileSys::RomFSFactory>(*this, system.GetContentProvider(), | 281 | process.GetProcessId(), program_id, |
| 282 | system.GetFileSystemController())); | 282 | std::make_unique<FileSys::RomFSFactory>(*this, system.GetContentProvider(), |
| 283 | } | 283 | system.GetFileSystemController())); |
| 284 | 284 | ||
| 285 | is_loaded = true; | 285 | is_loaded = true; |
| 286 | return {ResultStatus::Success, LoadParameters{Kernel::KThread::DefaultThreadPriority, | 286 | return {ResultStatus::Success, LoadParameters{Kernel::KThread::DefaultThreadPriority, |