PPCAnalyst: Make SetInstructionStats' opinfo parameter a const pointer

trivial const-correctness stuff
This commit is contained in:
Lioncash 2017-02-18 04:13:24 -05:00
parent 5814d23fd9
commit aaa6430db6
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;