diff options
author | bunnei <bunneidev@gmail.com> | 2018-09-04 12:16:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-04 12:16:06 -0400 |
commit | 9a07e9f8057323dbec477a8e90e626bf80fc1a61 (patch) | |
tree | 12fa8788cbe0e913bbcbee452ccbac65fdef742f /src/core/core.cpp | |
parent | ed37b68fb5717f173b617f888980c012dc5c6a04 (diff) | |
parent | dce624e3f12f1fb8bab66a3e974037501653b3ed (diff) |
Merge pull request #1237 from degasus/optimizations
Optimizations
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r-- | src/core/core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 29983b9b4..cbab80881 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -441,8 +441,8 @@ void System::SetGPUDebugContext(std::shared_ptr<Tegra::DebugContext> context) { impl->debug_context = std::move(context); } -std::shared_ptr<Tegra::DebugContext> System::GetGPUDebugContext() const { - return impl->debug_context; +Tegra::DebugContext* System::GetGPUDebugContext() const { + return impl->debug_context.get(); } void System::SetFilesystem(std::shared_ptr<FileSys::VfsFilesystem> vfs) { |