DSP HLE: External ops oops (thanks, lordmark)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4294 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
eb8ddbf3e5
commit
47a1d2da9c
|
@ -154,7 +154,7 @@ void CUCode_Zelda::RenderSynth_WaveTable(ZeldaVoicePB &PB, s32* _Buffer, int _Si
|
|||
_Buffer[i] = m_MiscTable[address];
|
||||
|
||||
ACC0 += PB.RatioInt << 5;
|
||||
address += ((ACC0 >> 16) & 0x003f) - 1;
|
||||
address += ((ACC0 >> 16) & 0x003f);
|
||||
|
||||
ACC0 &= 0xffff;
|
||||
}
|
||||
|
|
|
@ -3248,7 +3248,7 @@ void 091c_Decoder0x7_WaveTable(ACC0, AR0, AX0.L) {
|
|||
// 0930 4c4a add'l $ACC0, $ACC1 : $AX1.L, @$AR2
|
||||
|
||||
ACC0 += ACC1;
|
||||
AX1.L = *AR2;
|
||||
AX1.L = *AR2++;
|
||||
|
||||
// 0931 3606 andr'dr $AC0.M, $AX1.H : $AR2
|
||||
AC0.M &= 0x003f;
|
||||
|
|
Loading…
Reference in New Issue