diff --git a/Source/Core/DSPCore/Src/Jit/DSPJitUtil.cpp b/Source/Core/DSPCore/Src/Jit/DSPJitUtil.cpp index 8afabf507e..1dd9186dff 100644 --- a/Source/Core/DSPCore/Src/Jit/DSPJitUtil.cpp +++ b/Source/Core/DSPCore/Src/Jit/DSPJitUtil.cpp @@ -265,7 +265,7 @@ void DSPEmitter::ext_dmem_write(u32 dest, u32 src) // g_dsp.dram[addr & DSP_DRAM_MASK] = val; AND(16, R(EAX), Imm16(DSP_DRAM_MASK)); - SHL(16, R(EAX), Imm16(1)); // * sizeof(u16) + SHL(16, R(EAX), Imm8(1)); // * sizeof(u16) #ifdef _M_X64 MOV(64, R(R11), Imm64((u64)g_dsp.dram)); ADD(64, R(EAX), R(R11)); @@ -296,7 +296,7 @@ void DSPEmitter::ext_dmem_read(u16 addr) FixupBranch dram = J_CC(CC_NZ); // return g_dsp.dram[addr & DSP_DRAM_MASK]; AND(16, R(ECX), Imm16(DSP_DRAM_MASK)); - SHL(16, R(ECX), Imm16(1)); // * sizeof(u16) + SHL(16, R(ECX), Imm8(1)); // * sizeof(u16) #ifdef _M_X64 MOV(64, R(R11), Imm64((u64)g_dsp.dram)); ADD(64, R(ECX), R(R11));