diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2017-02-23 10:55:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-23 10:55:58 +0100 |
| commit | 1fc2edae510bfa419f2b64b6a2a13a2e4121f28a (patch) | |
| tree | 96037e98967589869b4c8738e75f9065f2190156 /Source/Core | |
| parent | 25a569e6e9134b767adfb45c3c8ca5144c0fdb91 (diff) | |
| parent | aaa6430db60357f8c55df3e88f18005140e4550c (diff) | |
Merge pull request #4928 from lioncash/const
PPCAnalyst: Make SetInstructionStats' opinfo parameter a const pointer
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/PowerPC/PPCAnalyst.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/Core/PowerPC/PPCAnalyst.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Core/PowerPC/PPCAnalyst.cpp b/Source/Core/Core/PowerPC/PPCAnalyst.cpp index 0735eda2f7..18059abf33 100644 --- a/Source/Core/Core/PowerPC/PPCAnalyst.cpp +++ b/Source/Core/Core/PowerPC/PPCAnalyst.cpp @@ -486,7 +486,7 @@ void PPCAnalyzer::ReorderInstructions(u32 instructions, CodeOp* code) ReorderInstructionsCore(instructions, code, false, REORDER_CMP); } -void PPCAnalyzer::SetInstructionStats(CodeBlock* block, CodeOp* code, GekkoOPInfo* opinfo, +void PPCAnalyzer::SetInstructionStats(CodeBlock* block, CodeOp* code, const GekkoOPInfo* opinfo, u32 index) { code->wantsCR0 = false; diff --git a/Source/Core/Core/PowerPC/PPCAnalyst.h b/Source/Core/Core/PowerPC/PPCAnalyst.h index 5a3b86a57a..eeefbcaf38 100644 --- a/Source/Core/Core/PowerPC/PPCAnalyst.h +++ b/Source/Core/Core/PowerPC/PPCAnalyst.h @@ -176,7 +176,7 @@ private: void ReorderInstructionsCore(u32 instructions, CodeOp* code, bool reverse, ReorderType type); void ReorderInstructions(u32 instructions, CodeOp* code); - void SetInstructionStats(CodeBlock* block, CodeOp* code, GekkoOPInfo* opinfo, u32 index); + void SetInstructionStats(CodeBlock* block, CodeOp* code, const GekkoOPInfo* opinfo, u32 index); // Options u32 m_options; |
