From eff0aa56e09cc65e439cc3b0622fc05115c1a95f Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 23 Dec 2013 09:56:25 -0500 Subject: [PATCH] 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;" --- newdc/hw/aica/aica_if.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newdc/hw/aica/aica_if.cpp b/newdc/hw/aica/aica_if.cpp index a37494971..fb6b62bdf 100644 --- a/newdc/hw/aica/aica_if.cpp +++ b/newdc/hw/aica/aica_if.cpp @@ -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**"); }