Fix an incorrect swap in newdc/hw/aica/aica_if.cpp. tmp should be assigned to dst, not src, because as it was before it was the equivalent of "dst = dst;"

This commit is contained in:
Lioncash 2013-12-23 09:56:25 -05:00
parent 3c085593e0
commit eff0aa56e0
1 changed files with 2 additions and 2 deletions

View File

@ -196,9 +196,9 @@ void Write_SB_ADST(u32 addr, u32 data)
if ((SB_ADDIR&1)==1)
{
//swap direction
u32 t=src;
u32 tmp=src;
src=dst;
dst=src;
dst=tmp;
printf("**AICA DMA : SB_ADDIR==1: Not sure this works, please report if broken/missing sound or crash\n**");
}