summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-12-29 17:17:59 +0100
committerGitHub <noreply@github.com>2020-12-29 17:17:59 +0100
commit5e186f48301b42e49f474aa975a3412f42f0d472 (patch)
tree7e9d94606692d395ca48f3d4158985789f722f7b /Source/Core
parentf21e1d1859712bc7d70d73bb41b9566219be0290 (diff)
parent359fe0d8c30d3dc9b3db5f450e7f9eb9d9d8d818 (diff)
Merge pull request #9382 from lioncash/precise
DSPCore: Move PRECISE_BACKLOG define to the interpreter code
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/DSP/DSPCore.cpp4
-rw-r--r--Source/Core/Core/DSP/Interpreter/DSPInterpreter.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/Core/DSP/DSPCore.cpp b/Source/Core/Core/DSP/DSPCore.cpp
index 39618d5621..f4d12ed77e 100644
--- a/Source/Core/Core/DSP/DSPCore.cpp
+++ b/Source/Core/Core/DSP/DSPCore.cpp
@@ -25,10 +25,6 @@
namespace DSP
{
-// not needed for game ucodes (it slows down interpreter/dspjit32 + easier to compare int VS
-// dspjit64 without it)
-//#define PRECISE_BACKLOG
-
// Returns false if the hash fails and the user hits "Yes"
static bool VerifyRoms(const SDSP& dsp)
{
diff --git a/Source/Core/Core/DSP/Interpreter/DSPInterpreter.cpp b/Source/Core/Core/DSP/Interpreter/DSPInterpreter.cpp
index 70ea39b8f2..e3f81f9084 100644
--- a/Source/Core/Core/DSP/Interpreter/DSPInterpreter.cpp
+++ b/Source/Core/Core/DSP/Interpreter/DSPInterpreter.cpp
@@ -16,6 +16,10 @@
namespace DSP::Interpreter
{
+// Not needed for game ucodes (it slows down interpreter + easier to compare int VS
+// dspjit64 without it)
+//#define PRECISE_BACKLOG
+
Interpreter::Interpreter(DSPCore& dsp) : m_dsp_core{dsp}
{
InitInstructionTables();