mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
DSPEmitter: Initialize compileSR in the initializer list
This commit is contained in:
@ -24,14 +24,12 @@ constexpr u16 DSP_IDLE_SKIP_CYCLES = 0x1000;
|
|||||||
|
|
||||||
using namespace Gen;
|
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);
|
AllocCodeSpace(COMPILED_CODE_SIZE);
|
||||||
|
|
||||||
compileSR = 0;
|
|
||||||
compileSR |= SR_INT_ENABLE;
|
|
||||||
compileSR |= SR_EXT_INT_ENABLE;
|
|
||||||
|
|
||||||
CompileDispatcher();
|
CompileDispatcher();
|
||||||
stubEntryPoint = CompileStub();
|
stubEntryPoint = CompileStub();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user