Skip to content

Commit

Permalink
use hardware constants in pic.asm
Browse files Browse the repository at this point in the history
  • Loading branch information
YamaArashi committed Nov 3, 2016
1 parent 77c3e22 commit 10289bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions home/pic.asm
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ UncompressSpriteData::
ld a, b
ld [H_LOADEDROMBANK], a
ld [MBC1RomBank], a
ld a, $a
ld [$0], a
ld a, SRAM_ENABLE
ld [MBC1SRamEnable], a
xor a
ld [$4000], a
ld [MBC1SRamBank], a
call _UncompressSpriteData
pop af
ld [H_LOADEDROMBANK], a
Expand Down

0 comments on commit 10289bf

Please sign in to comment.