You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Use LCD STAT interrupt more efficiently (#2)
This commit is contained in:
@@ -104,7 +104,7 @@ endc
|
||||
|
||||
xor a
|
||||
ldh [rIF], a
|
||||
ld a, (1 << JOYPAD) | (1 << SERIAL) | (1 << TIMER) | (1 << VBLANK)
|
||||
ld a, (1 << JOYPAD) | (1 << SERIAL) | (1 << VBLANK)
|
||||
ldh [rIE], a
|
||||
|
||||
call Link_CopyRandomNumbers
|
||||
@@ -280,7 +280,7 @@ endc
|
||||
|
||||
xor a
|
||||
ldh [rIF], a
|
||||
ld a, (1 << JOYPAD) | (1 << SERIAL) | (1 << TIMER) | (1 << VBLANK)
|
||||
ld a, (1 << JOYPAD) | (1 << SERIAL) | (1 << VBLANK)
|
||||
ldh [rIE], a
|
||||
ld de, MUSIC_NONE
|
||||
call PlayMusic
|
||||
|
Reference in New Issue
Block a user