diff options
| author | bunnei <bunneidev@gmail.com> | 2018-09-29 16:57:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-29 16:57:02 -0400 |
| commit | 1b29f9435a8b40392ccefacf7b1ccbb57a973018 (patch) | |
| tree | 5ebf817e2c5ce6736d89e938769be3f73fbb30f4 /src/core/loader/nca.cpp | |
| parent | c223195bed1cdd940caf03b804ab5b14a810ce79 (diff) | |
| parent | 06b47d8e6ff42215828962085a9e731670afd692 (diff) | |
Merge pull request #1414 from lioncash/ref
loader: Make the Load() function take a process as a regular reference, not a SharedPtr
Diffstat (limited to 'src/core/loader/nca.cpp')
| -rw-r--r-- | src/core/loader/nca.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/nca.cpp b/src/core/loader/nca.cpp index 6aaffae595..7e1b0d84fc 100644 --- a/src/core/loader/nca.cpp +++ b/src/core/loader/nca.cpp @@ -30,7 +30,7 @@ FileType AppLoader_NCA::IdentifyType(const FileSys::VirtualFile& file) { return FileType::Error; } -ResultStatus AppLoader_NCA::Load(Kernel::SharedPtr<Kernel::Process>& process) { +ResultStatus AppLoader_NCA::Load(Kernel::Process& process) { if (is_loaded) { return ResultStatus::ErrorAlreadyLoaded; } |
