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:
parent
3c085593e0
commit
eff0aa56e0
|
@ -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**");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue