summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarkus Wick <markus@selfnet.de>2018-09-04 14:06:52 +0200
committerMarkus Wick <markus@selfnet.de>2018-09-04 14:10:05 +0200
commitdce624e3f12f1fb8bab66a3e974037501653b3ed (patch)
tree89116ad910ed24739b315676f054af9787709abd /src
parentcommand_processor: Use std::array for bound_engines. (diff)
downloadyuzu-dce624e3f12f1fb8bab66a3e974037501653b3ed.tar
yuzu-dce624e3f12f1fb8bab66a3e974037501653b3ed.tar.gz
yuzu-dce624e3f12f1fb8bab66a3e974037501653b3ed.tar.bz2
yuzu-dce624e3f12f1fb8bab66a3e974037501653b3ed.tar.lz
yuzu-dce624e3f12f1fb8bab66a3e974037501653b3ed.tar.xz
yuzu-dce624e3f12f1fb8bab66a3e974037501653b3ed.tar.zst
yuzu-dce624e3f12f1fb8bab66a3e974037501653b3ed.zip
Diffstat (limited to 'src')
-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);