Fixed mov + some logging for memory write

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2899 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2009-04-06 16:53:49 +00:00
parent 80d48a08d8
commit 1156a0df9e
2 changed files with 22 additions and 19 deletions

View File

@ -921,10 +921,9 @@ void movnp(const UDSPInstruction& opc)
void mov(const UDSPInstruction& opc)
{
u8 D = (opc.hex >> 8) & 0x1;
u16 acc = dsp_get_acc_m(1 - D);
u16 ac1 = dsp_get_acc_m(D);
u16 ac2 = dsp_get_acc_m(1 - D);
dsp_set_long_acc(D, ac1 + ac2);
dsp_set_long_acc(D, acc);
}
// ADDAX $acD, $axS