mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Core/DSPCore: Make Jit read from coefficient ROM when told to do so,
change the unit test to catch this bug if it turns up again and two more zeroWriteBackLog() calls. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6356 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -166,6 +166,7 @@ void DSPEmitter::sbclr(const UDSPInstruction opc)
|
||||
{
|
||||
u8 bit = (opc & 0x7) + 6;
|
||||
|
||||
zeroWriteBackLog(opc);
|
||||
clrCompileSR(1 << bit);
|
||||
}
|
||||
|
||||
@ -177,6 +178,7 @@ void DSPEmitter::sbset(const UDSPInstruction opc)
|
||||
{
|
||||
u8 bit = (opc & 0x7) + 6;
|
||||
|
||||
zeroWriteBackLog(opc);
|
||||
setCompileSR(1 << bit);
|
||||
}
|
||||
|
||||
|
@ -386,9 +386,9 @@ void DSPEmitter::ext_dmem_read(u16 addr)
|
||||
// return g_dsp.coef[addr & DSP_COEF_MASK];
|
||||
AND(16, R(ECX), Imm16(DSP_COEF_MASK));
|
||||
#ifdef _M_X64
|
||||
MOV(64, R(ESI), ImmPtr(g_dsp.dram));
|
||||
MOV(64, R(ESI), ImmPtr(g_dsp.coef));
|
||||
#else
|
||||
MOV(32, R(ESI), ImmPtr(g_dsp.dram));
|
||||
MOV(32, R(ESI), ImmPtr(g_dsp.coef));
|
||||
#endif
|
||||
MOV(16, R(EAX), MComplex(ESI,ECX,2,0));
|
||||
|
||||
|
Reference in New Issue
Block a user