diff options
author | jiangzhengwenjz <jiangzhengwenjzw@qq.com> | 2019-08-12 12:37:41 +0800 |
---|---|---|
committer | jiangzhengwenjz <jiangzhengwenjzw@qq.com> | 2019-08-12 12:38:46 +0800 |
commit | 82253083e355269c213a064e13940860be68e198 (patch) | |
tree | 8b6d4b030e7fb67b1490f04382c4731e6f407a03 /include | |
parent | d58bf398b2b83a326d23d14d531de7f45a1058bb (diff) |
match CopyTileMapEntry with goto
Diffstat (limited to 'include')
-rw-r--r-- | include/bg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bg.h b/include/bg.h index 40c51167f..6a77ec22e 100644 --- a/include/bg.h +++ b/include/bg.h @@ -97,7 +97,7 @@ void WriteSequenceToBgTilemapBuffer(u8 bg, u16 firstTileNum, u8 x, u8 y, u8 widt u16 GetBgMetricTextMode(u8 bg, u8 whichMetric); u32 GetBgMetricAffineMode(u8 bg, u8 whichMetric); u32 GetTileMapIndexFromCoords(s32 x, s32 y, s32 screenSize, u32 screenWidth, u32 screenHeight); -void CopyTileMapEntry(u16 *src, u16 *dest, s32 palette1, u32 tileOffset, u32 palette2); +void CopyTileMapEntry(const u16 *src, u16 *dest, s32 palette1, s32 tileOffset, s32 palette2); u32 GetBgType(u8 bg); bool32 IsInvalidBg32(u8 bg); bool32 IsTileMapOutsideWram(u8 bg); |