Insert Crystal audio engine and music

most credit goes to Sanqui
This commit is contained in:
dannye 2017-05-07 15:30:08 -05:00
parent 832c28eaea
commit 87eed68710
586 changed files with 193763 additions and 6447 deletions

View file

@ -97,7 +97,7 @@ rLCDC_DEFAULT EQU %11100011
predef LoadSGB
ld a, BANK(SFX_Shooting_Star)
ld a, 0 ; BANK(SFX_Shooting_Star)
ld [wAudioROMBank], a
ld [wAudioSavedROMBank], a
ld a, $9c
@ -126,7 +126,12 @@ ClearVram:
StopAllSounds::
ld a, BANK(Audio1_UpdateMusic)
call OpenSRAMForSound
ld hl, MusicPlaying
ld bc, (wChannelSelectorSwitches+8) - Crysaudio
call FillMemory
ld a, 0 ; BANK(Audio1_UpdateMusic)
ld [wAudioROMBank], a
ld [wAudioSavedROMBank], a
xor a