summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-06-11 21:22:26 +0200
committerbunnei <ericbunnie@gmail.com>2014-06-12 12:10:56 +0200
commitc34ba380011921a9d984136381c3a65a1e2389d5 (patch)
treeae8389bc502133cfdd7eb43c1a0f54ec2aa08904
parentRemoved definition of MAX_PATH, this is already defined in common_paths.h. (diff)
downloadyuzu-c34ba380011921a9d984136381c3a65a1e2389d5.tar
yuzu-c34ba380011921a9d984136381c3a65a1e2389d5.tar.gz
yuzu-c34ba380011921a9d984136381c3a65a1e2389d5.tar.bz2
yuzu-c34ba380011921a9d984136381c3a65a1e2389d5.tar.lz
yuzu-c34ba380011921a9d984136381c3a65a1e2389d5.tar.xz
yuzu-c34ba380011921a9d984136381c3a65a1e2389d5.tar.zst
yuzu-c34ba380011921a9d984136381c3a65a1e2389d5.zip
-rw-r--r--src/video_core/gpu_debugger.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/gpu_debugger.h b/src/video_core/gpu_debugger.h
index 6a1e04244..5d909beba 100644
--- a/src/video_core/gpu_debugger.h
+++ b/src/video_core/gpu_debugger.h
@@ -20,9 +20,9 @@ public:
// A vector of commands represented by their raw byte sequence
struct PicaCommand : public std::vector<u32>
{
- Pica::CommandHeader& GetHeader()
+ const Pica::CommandHeader& GetHeader() const
{
- u32& val = at(1);
+ const u32& val = at(1);
return *(Pica::CommandHeader*)&val;
}
};
@@ -64,7 +64,7 @@ public:
}
protected:
- GraphicsDebugger* GetDebugger()
+ const GraphicsDebugger* GetDebugger() const
{
return observed;
}