summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-12-28 11:31:26 -0500
committerLioncash <mathew1800@gmail.com>2020-12-28 13:15:48 -0500
commit9d1c8fe49239242002ffe1000a1a1f1807d6a767 (patch)
tree670260626911567ddb160222650efdc81ac3ef8d /Source/Core
parent2ff4d047851d1c3b40dff32d7ce648669d9db5fe (diff)
DSPAnalyzer: Make CodeFlags private to the analyzer
Now that we have the convenience functions around the flag bit manipulations, there's no external usages of the flags, so we can make these private to the analyzer implementation. Now the Analyzer namespace is largely unnecessary and can be merged with the DSP namespace in the next commit.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/DSP/DSPAnalyzer.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/Source/Core/Core/DSP/DSPAnalyzer.h b/Source/Core/Core/DSP/DSPAnalyzer.h
index e2663adfd5..21dc740908 100644
--- a/Source/Core/Core/DSP/DSPAnalyzer.h
+++ b/Source/Core/Core/DSP/DSPAnalyzer.h
@@ -18,17 +18,6 @@ namespace DSP::Analyzer
// Useful things to detect:
// * Loop endpoints - so that we can avoid checking for loops every cycle.
-enum CodeFlags : u8
-{
- CODE_NONE = 0,
- CODE_START_OF_INST = 1,
- CODE_IDLE_SKIP = 2,
- CODE_LOOP_START = 4,
- CODE_LOOP_END = 8,
- CODE_UPDATE_SR = 16,
- CODE_CHECK_EXC = 32,
-};
-
class Analyzer
{
public:
@@ -86,6 +75,17 @@ public:
}
private:
+ enum CodeFlags : u8
+ {
+ CODE_NONE = 0,
+ CODE_START_OF_INST = 1,
+ CODE_IDLE_SKIP = 2,
+ CODE_LOOP_START = 4,
+ CODE_LOOP_END = 8,
+ CODE_UPDATE_SR = 16,
+ CODE_CHECK_EXC = 32,
+ };
+
// Flushes all analyzed state.
void Reset();