diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-03-22 18:24:04 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-03-22 19:01:47 -0400 |
| commit | 4c97deb36499c52a4bed087fa1c793d9b87e5f1f (patch) | |
| tree | e385d21a2a80fae1148990b3347700dc52351683 /Source/Core/DolphinQt2/Debugger/CodeWidget.cpp | |
| parent | 5e76f3a6d4a29df6b2794c4f6c790bd92e47f17d (diff) | |
PowerPC: Namespace all header contents for PowerPC.h
Puts everything under the same namespace. Previously the header was only
partially namespaced, which is inconsistent.
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; } |
