mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-23 07:20:10 +00:00
GPU debugger: Const correctness and build fix.
This commit is contained in:
parent
0b39535bed
commit
48419796ba
@ -20,9 +20,9 @@ public:
|
|||||||
// A vector of commands represented by their raw byte sequence
|
// A vector of commands represented by their raw byte sequence
|
||||||
struct PicaCommand : public std::vector<u32>
|
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;
|
return *(Pica::CommandHeader*)&val;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -64,7 +64,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
GraphicsDebugger* GetDebugger()
|
const GraphicsDebugger* GetDebugger() const
|
||||||
{
|
{
|
||||||
return observed;
|
return observed;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user