DSP-LLE: dump code if m_DumpUCode instead of DEBUG

This change makes the behavior consistent with that of DSP-HLE.
This commit is contained in:
Michael Maltese 2017-05-14 20:25:25 -07:00
parent ed5e98c3cc
commit edb16cd399
1 changed files with 4 additions and 3 deletions

View File

@ -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();