From 359fe0d8c30d3dc9b3db5f450e7f9eb9d9d8d818 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 29 Dec 2020 09:25:53 -0500 Subject: [PATCH] DSPCore: Move PRECISE_BACKLOG define to the interpreter code The only usages of this define are within this source file. --- Source/Core/Core/DSP/DSPCore.cpp | 4 ---- Source/Core/Core/DSP/Interpreter/DSPInterpreter.cpp | 4 ++++ 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();