mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
DSPSpy: Fix hang when using the free DSP rom
This commit is contained in:
parent
e7a30dd468
commit
87dc668522
@ -118,7 +118,10 @@ do_dma:
|
|||||||
sr @DSPA, $ax0.l
|
sr @DSPA, $ax0.l
|
||||||
sr @DSCR, $ax1.l
|
sr @DSCR, $ax1.l
|
||||||
sr @DSBL, $ax0.h ; This kicks off the DMA.
|
sr @DSBL, $ax0.h ; This kicks off the DMA.
|
||||||
call 0x863d ; Wait for DMA to complete by watching a bit in DSCR.
|
wait_dma_finish:
|
||||||
|
lr $ac1.m, @DSCR
|
||||||
|
andcf $ac1.m, #0x4
|
||||||
|
jlz wait_dma_finish
|
||||||
ret
|
ret
|
||||||
|
|
||||||
; IRQ handlers. Just send back exception# and die
|
; IRQ handlers. Just send back exception# and die
|
||||||
|
Loading…
Reference in New Issue
Block a user