From af010c6bc2d06fcf438849375f30c3e90fe4d72b Mon Sep 17 00:00:00 2001 From: nakeee Date: Sat, 25 Jul 2009 18:31:01 +0000 Subject: [PATCH] DSPLLE: set currentEpilogeFunc to NULL git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3882 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DSPCore/Src/DSPTables.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Core/DSPCore/Src/DSPTables.h b/Source/Core/DSPCore/Src/DSPTables.h index 474f680958..c4d1cce859 100644 --- a/Source/Core/DSPCore/Src/DSPTables.h +++ b/Source/Core/DSPCore/Src/DSPTables.h @@ -157,8 +157,10 @@ inline void ExecuteInstruction(const UDSPInstruction& inst) if (opTableUseExt[inst.hex]) extOpTable[inst.hex & 0xFF](inst); opTable[inst.hex](inst); - if (currentEpilogeFunc) + if (currentEpilogeFunc) { currentEpilogeFunc(inst); + currentEpilogeFunc = NULL; + } } // This one's pretty slow, try to use it only at init or seldomly.