summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorGravatar Markus Wick2018-09-04 14:06:52 +0200
committerGravatar Markus Wick2018-09-04 14:10:05 +0200
commitdce624e3f12f1fb8bab66a3e974037501653b3ed (patch)
tree89116ad910ed24739b315676f054af9787709abd /src/core/core.h
parentcommand_processor: Use std::array for bound_engines. (diff)
downloadyuzu-dce624e3f12f1fb8bab66a3e974037501653b3ed.tar.gz
yuzu-dce624e3f12f1fb8bab66a3e974037501653b3ed.tar.xz
yuzu-dce624e3f12f1fb8bab66a3e974037501653b3ed.zip
core: Use a raw pointer in GetGPUDebugContext.
This helper is called very often. The memory ownership shall not be transfered, so just return the raw pointer.
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h2
1 files changed, 1 insertions, 1 deletions
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:
209 209
210 void SetGPUDebugContext(std::shared_ptr<Tegra::DebugContext> context); 210 void SetGPUDebugContext(std::shared_ptr<Tegra::DebugContext> context);
211 211
212 std::shared_ptr<Tegra::DebugContext> GetGPUDebugContext() const; 212 Tegra::DebugContext* GetGPUDebugContext() const;
213 213
214 void SetFilesystem(std::shared_ptr<FileSys::VfsFilesystem> vfs); 214 void SetFilesystem(std::shared_ptr<FileSys::VfsFilesystem> vfs);
215 215