Skip to content

Commit 8ab3612

Browse files
committed
[xaudio] Fix incorrect MMU flag reset in AHIsub_Stop
1 parent cd462d6 commit 8ab3612

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xaudio/src/replay_audio.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2158,8 +2158,8 @@ AHIsub_Stop:
21582158
move.l r_MMUFlags(a3),d1
21592159
cmp.l #-1,d1
21602160
beq.b .nommu
2161-
move.l d0,a0
2162-
move.l r_OutputBufferSize(a3),d1
2161+
move.l r_OutputBufferAligned(a3),a0
2162+
move.l r_OutputBufferSize(a3),d0
21632163
bsr SetMMU
21642164
move.l r_OutputBuffer(a3),d0
21652165
.nommu

0 commit comments

Comments
 (0)