summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2022-11-27 13:50:50 +0100
committerAdmiral H. Curtiss <pikachu025@gmail.com>2022-11-29 08:15:01 +0100
commit6941d2e7e67d68312278a934e6c47abc88074077 (patch)
treec7d40d9c001431ac15e2160f8cd42d941fffc12f /Source/Core/VideoCommon/OpcodeDecoding.cpp
parent44f8b8c1007f2ead8530d53c4aca3df8fee6d6af (diff)
VideoCommon/CommandProcessor: Refactor to class, move to Core::System.
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
-rw-r--r--Source/Core/VideoCommon/OpcodeDecoding.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/OpcodeDecoding.cpp b/Source/Core/VideoCommon/OpcodeDecoding.cpp
index c1ac5c876c..36c9093365 100644
--- a/Source/Core/VideoCommon/OpcodeDecoding.cpp
+++ b/Source/Core/VideoCommon/OpcodeDecoding.cpp
@@ -18,6 +18,7 @@
#include "Common/Logging/Log.h"
#include "Core/FifoPlayer/FifoRecorder.h"
#include "Core/HW/Memmap.h"
+#include "Core/System.h"
#include "VideoCommon/BPMemory.h"
#include "VideoCommon/CPMemory.h"
#include "VideoCommon/CommandProcessor.h"
@@ -207,7 +208,8 @@ public:
}
else
{
- CommandProcessor::HandleUnknownOpcode(opcode, data, is_preprocess);
+ Core::System::GetInstance().GetCommandProcessor().HandleUnknownOpcode(opcode, data,
+ is_preprocess);
m_cycles += 1;
}
}