aboutsummaryrefslogtreecommitdiff
path: root/src-68k/echo.68k
diff options
context:
space:
mode:
authorSik2019-07-06 20:05:48 -0300
committerSik2019-07-06 20:05:48 -0300
commitfbcb8924e878e7eff93d444762c647e126cb8e3b (patch)
treec44c1eeac1de8b664bdc60d81707613dec48e59a /src-68k/echo.68k
parentc012f5f3767bb358b027535007b922b276c87f2e (diff)
Added PCM playback flag to Echo_GetStatus
Diffstat (limited to 'src-68k/echo.68k')
-rw-r--r--src-68k/echo.68k5
1 files changed, 5 insertions, 0 deletions
diff --git a/src-68k/echo.68k b/src-68k/echo.68k
index 8810ab2..46fb361 100644
--- a/src-68k/echo.68k
+++ b/src-68k/echo.68k
@@ -416,6 +416,11 @@ Echo_GetStatus:
bset.l #14, d0 ; If so, set the relevant flag
@DirectEmpty:
+ cmpi.b #$C9, ($A00008) ; Check if ch6 is in FM or PCM mode
+ beq.s @PcmOff ; PCM playback active? (i.e. not RET)
+ bset.l #13, d0 ; If so, set the relevant flag
+@PcmOff:
+
moveq #0, d1 ; Clear unused bits from index
lea @AndTable(pc), a1 ; Get pointer to look-up tables