summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-04 18:16:06 +0200
committerGitHub <noreply@github.com>2018-09-04 18:16:06 +0200
commit9a07e9f8057323dbec477a8e90e626bf80fc1a61 (patch)
tree12fa8788cbe0e913bbcbee452ccbac65fdef742f /src/core
parentMerge pull request #1223 from DarkLordZach/custom-nand-sd-dirs (diff)
parentcore: Use a raw pointer in GetGPUDebugContext. (diff)
downloadyuzu-9a07e9f8057323dbec477a8e90e626bf80fc1a61.tar
yuzu-9a07e9f8057323dbec477a8e90e626bf80fc1a61.tar.gz
yuzu-9a07e9f8057323dbec477a8e90e626bf80fc1a61.tar.bz2
yuzu-9a07e9f8057323dbec477a8e90e626bf80fc1a61.tar.lz
yuzu-9a07e9f8057323dbec477a8e90e626bf80fc1a61.tar.xz
yuzu-9a07e9f8057323dbec477a8e90e626bf80fc1a61.tar.zst
yuzu-9a07e9f8057323dbec477a8e90e626bf80fc1a61.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core.cpp4
-rw-r--r--src/core/core.h2
2 files changed, 3 insertions, 3 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) {
diff --git a/src/core/core.h b/src/core/core.h
index eee1fecc1..5c3c0e2a1 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -209,7 +209,7 @@ public:
void SetGPUDebugContext(std::shared_ptr<Tegra::DebugContext> context);
- std::shared_ptr<Tegra::DebugContext> GetGPUDebugContext() const;
+ Tegra::DebugContext* GetGPUDebugContext() const;
void SetFilesystem(std::shared_ptr<FileSys::VfsFilesystem> vfs);