diff options
Diffstat (limited to 'src-z80/core/bgm.z80')
| -rw-r--r-- | src-z80/core/bgm.z80 | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/src-z80/core/bgm.z80 b/src-z80/core/bgm.z80 index ebda240..27cb89c 100644 --- a/src-z80/core/bgm.z80 +++ b/src-z80/core/bgm.z80 @@ -42,15 +42,15 @@ PlayBGM: ld hl, ProcessBGM ; Tell Echo to process BGM ld (DoTick_BGM+1), hl - ld b, 8 ; Kill all FM channels explicitly -.resetallfm: - ld a, b - and $04 - rrca - ld iyl, a - ld a, b - call KillFM - djnz .resetallfm +; ld b, 8 ; Kill all FM channels explicitly +;.resetallfm: +; ld a, b +; and $04 +; rrca +; ld iyl, a +; ld a, b +; call KillFM +; djnz .resetallfm jp IdleLoop ; End of subroutine @@ -83,6 +83,7 @@ ProcessBGM: ex de, hl ProcessBGMRun: +ProcessBGMSkip: PollPCM ; Fetch next event call GetParam PollPCM @@ -172,9 +173,6 @@ ProcessBGMSkip1: ; This is where we land after a locked event inc c .nobankskip1: -ProcessBGMSkip: ; This is where we land after a locked event - PollPCM ; without parameters - jp ProcessBGMRun ; Keep processing ;**************************************************************************** |
