diff options
| author | Sik | 2019-04-23 03:31:56 -0300 |
|---|---|---|
| committer | Sik | 2019-04-23 03:31:56 -0300 |
| commit | c012f5f3767bb358b027535007b922b276c87f2e (patch) | |
| tree | 465f00ed4bb772de9e99fdd53490b6e504900053 /src-z80/core/bgm.z80 | |
| parent | ceb1b7c96cf546b033375787481ee66d64c08fc8 (diff) | |
Well, that had backfired (and turned out that load instrument events reset the volume anyway), this seems to fix the channel unlock issues for real tho
Diffstat (limited to 'src-z80/core/bgm.z80')
| -rw-r--r-- | src-z80/core/bgm.z80 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src-z80/core/bgm.z80 b/src-z80/core/bgm.z80 index ddb9f74..595e9ec 100644 --- a/src-z80/core/bgm.z80 +++ b/src-z80/core/bgm.z80 @@ -45,9 +45,9 @@ PlayBGM: ld hl, ProcessBGM ; Tell Echo to process BGM ld (DoTick_BGM+1), hl - ld b, 8 ; Force BGM volume of all FM channels to $00 - ld c, 0 ; (default value for older Echo versions) - ld hl, RAM_BGMFMVol + ld b, 8 ; Force BGM volume of all FM channels to $7F + ld c, $7F ; (so trying to unlock an unused channel + ld hl, RAM_BGMFMVol ; doesn't result in audible garbage) .playunmute: ld (hl), c inc l |
