mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-22 19:40:05 +00:00
Merge branch 'master' of https://github.com/citra-emu/citra
Conflicts: src/video_core/gpu_debugger.h
This commit is contained in:
commit
0c0d35c698
@ -20,7 +20,7 @@ public:
|
||||
// A vector of commands represented by their raw byte sequence
|
||||
struct PicaCommand : public std::vector<u32>
|
||||
{
|
||||
Pica::CommandHeader& GetHeader() const
|
||||
const Pica::CommandHeader& GetHeader() const
|
||||
{
|
||||
const u32& val = at(1);
|
||||
return *(Pica::CommandHeader*)&val;
|
||||
@ -64,7 +64,7 @@ public:
|
||||
}
|
||||
|
||||
protected:
|
||||
GraphicsDebugger* GetDebugger() const
|
||||
const GraphicsDebugger* GetDebugger() const
|
||||
{
|
||||
return observed;
|
||||
}
|
||||
@ -108,7 +108,7 @@ public:
|
||||
}
|
||||
|
||||
auto obj = std::pair<u32,PicaCommandList>(address, cmdlist);
|
||||
auto it = find(command_lists.begin(), command_lists.end(), obj);
|
||||
auto it = std::find(command_lists.begin(), command_lists.end(), obj);
|
||||
bool is_new = (it == command_lists.end());
|
||||
if (is_new)
|
||||
command_lists.push_back(obj);
|
||||
|
Loading…
Reference in New Issue
Block a user