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 | 52655672599fe077a3fda1556761d86e98c07bce (patch) | |
| tree | 12fa8788cbe0e913bbcbee452ccbac65fdef742f /src/core/core.cpp | |
| parent | 3d2d2620d7ea8745680bcb7e0ab978e694b4011d (diff) | |
| parent | 5093e008c911e79215c01a310f08556bfb7a3920 (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 29983b9b40..cbab80881c 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) { |
