From edb16cd399bf20dfa4ab365ff6831fc68b8814e1 Mon Sep 17 00:00:00 2001 From: Michael Maltese Date: Sun, 14 May 2017 20:25:25 -0700 Subject: [PATCH] DSP-LLE: dump code if m_DumpUCode instead of DEBUG This change makes the behavior consistent with that of DSP-HLE. --- Source/Core/Core/HW/DSPLLE/DSPHost.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/Core/Core/HW/DSPLLE/DSPHost.cpp b/Source/Core/Core/HW/DSPLLE/DSPHost.cpp index 6805d8c70d..ec4202a538 100644 --- a/Source/Core/Core/HW/DSPLLE/DSPHost.cpp +++ b/Source/Core/Core/HW/DSPLLE/DSPHost.cpp @@ -60,9 +60,10 @@ void CodeLoaded(const u8* ptr, int size) { g_dsp.iram_crc = HashEctor(ptr, size); -#if defined(_DEBUG) || defined(DEBUGFAST) - LLE::DumpDSPCode(ptr, size, g_dsp.iram_crc); -#endif + if (SConfig::GetInstance().m_DumpUCode) + { + LLE::DumpDSPCode(ptr, size, g_dsp.iram_crc); + } Symbols::Clear();