mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 15:12:18 +13:00
Insert Crystal audio engine and music
most credit goes to Sanqui
This commit is contained in:
parent
832c28eaea
commit
87eed68710
586 changed files with 193763 additions and 6447 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue