summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2018-09-04 12:16:06 -0400
committerGravatar GitHub2018-09-04 12:16:06 -0400
commit9a07e9f8057323dbec477a8e90e626bf80fc1a61 (patch)
tree12fa8788cbe0e913bbcbee452ccbac65fdef742f /src/core/core.cpp
parentMerge pull request #1223 from DarkLordZach/custom-nand-sd-dirs (diff)
parentcore: Use a raw pointer in GetGPUDebugContext. (diff)
downloadyuzu-9a07e9f8057323dbec477a8e90e626bf80fc1a61.tar.gz
yuzu-9a07e9f8057323dbec477a8e90e626bf80fc1a61.tar.xz
yuzu-9a07e9f8057323dbec477a8e90e626bf80fc1a61.zip
Merge pull request #1237 from degasus/optimizations
Optimizations
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp4
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) {
441 impl->debug_context = std::move(context); 441 impl->debug_context = std::move(context);
442} 442}
443 443
444std::shared_ptr<Tegra::DebugContext> System::GetGPUDebugContext() const { 444Tegra::DebugContext* System::GetGPUDebugContext() const {
445 return impl->debug_context; 445 return impl->debug_context.get();
446} 446}
447 447
448void System::SetFilesystem(std::shared_ptr<FileSys::VfsFilesystem> vfs) { 448void System::SetFilesystem(std::shared_ptr<FileSys::VfsFilesystem> vfs) {