From 50b1fcb1ed5f064f46b5347c7f382f70bae858c2 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 26 Dec 2016 19:42:09 -0500 Subject: [PATCH] DSPEmitter: Initialize compileSR in the initializer list --- Source/Core/Core/DSP/Jit/DSPEmitter.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Source/Core/Core/DSP/Jit/DSPEmitter.cpp b/Source/Core/Core/DSP/Jit/DSPEmitter.cpp index b2b0c8d9c7..4e4076b2ed 100644 --- a/Source/Core/Core/DSP/Jit/DSPEmitter.cpp +++ b/Source/Core/Core/DSP/Jit/DSPEmitter.cpp @@ -24,14 +24,12 @@ constexpr u16 DSP_IDLE_SKIP_CYCLES = 0x1000; using namespace Gen; -DSPEmitter::DSPEmitter() : blockLinks(MAX_BLOCKS), blockSize(MAX_BLOCKS), blocks(MAX_BLOCKS) +DSPEmitter::DSPEmitter() + : blockLinks(MAX_BLOCKS), blockSize(MAX_BLOCKS), blocks(MAX_BLOCKS), + compileSR{SR_INT_ENABLE | SR_EXT_INT_ENABLE} { AllocCodeSpace(COMPILED_CODE_SIZE); - compileSR = 0; - compileSR |= SR_INT_ENABLE; - compileSR |= SR_EXT_INT_ENABLE; - CompileDispatcher(); stubEntryPoint = CompileStub();