summaryrefslogtreecommitdiff
path: root/Source/Core/DSPCore
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2009-07-25 18:31:01 +0000
committernakeee <nakeee@gmail.com>2009-07-25 18:31:01 +0000
commitaf010c6bc2d06fcf438849375f30c3e90fe4d72b (patch)
tree5ed9bb2c9d84d0b00daf3240731e9f494ab8e0d6 /Source/Core/DSPCore
parent3b0e949c93f92ec2015aefd81ccf6059e7d60ab9 (diff)
DSPLLE: set currentEpilogeFunc to NULL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3882 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DSPCore')
-rw-r--r--Source/Core/DSPCore/Src/DSPTables.h4
1 files changed, 3 insertions, 1 deletions
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.