diff options
| author | Javier Degirolmo | 2011-12-09 08:29:41 -0300 |
|---|---|---|
| committer | Javier Degirolmo | 2011-12-09 08:29:41 -0300 |
| commit | f7ef91fd060eaa724bdb6940fd1b21dd08923837 (patch) | |
| tree | 6eb32206d72aa7928a1c75bbdb1e0a322b5ce1a7 /src-z80/core/bgm.z80 | |
| parent | 6446fde6c853329dd62621e5e82e868d7f132f00 (diff) | |
Fixed FM volume restoring bug (I hope?)
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 ;**************************************************************************** |
