diff options
author | Cameron Hall <camthesaxman@users.noreply.github.com> | 2017-01-26 01:07:36 -0500 |
---|---|---|
committer | YamaArashi <YamaArashi@users.noreply.github.com> | 2017-01-25 22:07:36 -0800 |
commit | 448acff16e53485c5cfb90983a7a1e1b4644c30b (patch) | |
tree | 47525f8d2a65bd906b026d3c29160103b7c3a9d9 /src/sprite.c | |
parent | 9442bdcbf3abf3e44d2829ec72bfe23649c7d8ac (diff) |
finish decompiling naming_screen (#217)
* decompile more code
* incbin graphics data
* decompile more code
* decompile more code
* finish decompiling
* name some functions and variables
Diffstat (limited to 'src/sprite.c')
-rw-r--r-- | src/sprite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sprite.c b/src/sprite.c index fd8a5aaac..8e8833536 100644 --- a/src/sprite.c +++ b/src/sprite.c @@ -1468,7 +1468,7 @@ void SetOamMatrixRotationScaling(u8 matrixNum, s16 xScale, s16 yScale, u16 rotat CopyOamMatrix(matrixNum, &matrix); } -u16 LoadSpriteSheet(struct SpriteSheet *sheet) +u16 LoadSpriteSheet(const struct SpriteSheet *sheet) { s16 tileStart = AllocSpriteTiles(sheet->size / TILE_SIZE_4BPP); @@ -1484,7 +1484,7 @@ u16 LoadSpriteSheet(struct SpriteSheet *sheet) } } -void LoadSpriteSheets(struct SpriteSheet *sheets) +void LoadSpriteSheets(const struct SpriteSheet *sheets) { u8 i; for (i = 0; sheets[i].data != NULL; i++) |