You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Remove rNR20/rNR40 and add rPCM12/rPCM34 (#947)
This commit is contained in:
committed by
GitHub
parent
5f0597e944
commit
6a9e929bf9
@@ -353,7 +353,7 @@ UpdateChannels:
|
||||
ldh a, [rNR52]
|
||||
and %10001101 ; ch2 off
|
||||
ldh [rNR52], a
|
||||
ld hl, rNR20
|
||||
ld hl, rNR21 - 1 ; there is no rNR20
|
||||
call ClearChannel
|
||||
ret
|
||||
|
||||
@@ -491,7 +491,7 @@ endr
|
||||
ldh a, [rNR52]
|
||||
and %10000111 ; ch4 off
|
||||
ldh [rNR52], a
|
||||
ld hl, rNR40
|
||||
ld hl, rNR41 - 1 ; there is no rNR40
|
||||
call ClearChannel
|
||||
ret
|
||||
|
||||
|
Reference in New Issue
Block a user