summaryrefslogtreecommitdiff
path: root/Source/Core/DSPCore
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DSPCore')
-rw-r--r--Source/Core/DSPCore/Src/DSPEmitter.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/Core/DSPCore/Src/DSPEmitter.cpp b/Source/Core/DSPCore/Src/DSPEmitter.cpp
index 2b4a6ed2e8..421b75ee1f 100644
--- a/Source/Core/DSPCore/Src/DSPEmitter.cpp
+++ b/Source/Core/DSPCore/Src/DSPEmitter.cpp
@@ -38,7 +38,12 @@ DSPEmitter::DSPEmitter() : storeIndex(-1)
blocks = new CompiledCode[MAX_BLOCKS];
blockSize = new u16[0x10000];
- ClearIRAM();
+ //clear all of the block references
+ for(int i = 0x0000; i < MAX_BLOCKS; i++)
+ {
+ blocks[i] = NULL;
+ blockSize[i] = 0;
+ }
compileSR = 0;
compileSR |= SR_INT_ENABLE;