aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-29 16:57:02 -0400
committerGitHub <noreply@github.com>2018-09-29 16:57:02 -0400
commit1b29f9435a8b40392ccefacf7b1ccbb57a973018 (patch)
tree5ebf817e2c5ce6736d89e938769be3f73fbb30f4 /src/core/core.cpp
parentc223195bed1cdd940caf03b804ab5b14a810ce79 (diff)
parent06b47d8e6ff42215828962085a9e731670afd692 (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/core.cpp')
-rw-r--r--src/core/core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 7666354dc7..b6acfb3e4b 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -202,7 +202,7 @@ struct System::Impl {
return init_result;
}
- const Loader::ResultStatus load_result{app_loader->Load(kernel.CurrentProcess())};
+ const Loader::ResultStatus load_result{app_loader->Load(*kernel.CurrentProcess())};
if (load_result != Loader::ResultStatus::Success) {
LOG_CRITICAL(Core, "Failed to load ROM (Error {})!", static_cast<int>(load_result));
Shutdown();