diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2018-03-23 12:09:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-23 12:09:09 +0100 |
| commit | 894d4c99a8dd0de60cb53d18302c8361779e0771 (patch) | |
| tree | de7b7e5a2d439f508d37ac57b64a2f52484fdd72 /Source/Core/DolphinQt2/Debugger/CodeWidget.cpp | |
| parent | 27ffc8a69df3f417247236146065eb4697260a4d (diff) | |
| parent | 4c97deb36499c52a4bed087fa1c793d9b87e5f1f (diff) | |
Merge pull request #6495 from lioncash/namespace
PowerPC: Namespace all header contents for PowerPC.h
Diffstat (limited to 'Source/Core/DolphinQt2/Debugger/CodeWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/Debugger/CodeWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp b/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp index 8c78d507cd..0c98f8e336 100644 --- a/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp +++ b/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp @@ -390,7 +390,7 @@ static bool WillInstructionReturn(UGeckoInstruction inst) if (inst.hex == 0x4C000064u) return true; bool counter = (inst.BO_2 >> 2 & 1) != 0 || (CTR != 0) != ((inst.BO_2 >> 1 & 1) != 0); - bool condition = inst.BO_2 >> 4 != 0 || GetCRBit(inst.BI_2) == (inst.BO_2 >> 3 & 1); + bool condition = inst.BO_2 >> 4 != 0 || PowerPC::GetCRBit(inst.BI_2) == (inst.BO_2 >> 3 & 1); bool isBclr = inst.OPCD_7 == 0b010011 && (inst.hex >> 1 & 0b10000) != 0; return isBclr && counter && condition && !inst.LK_3; } |
