summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2017-10-02 22:09:29 -0400
committerGitHub <noreply@github.com>2017-10-02 22:09:29 -0400
commit2701191a769784640d6a4fb819ae48272d01eb75 (patch)
tree6e6ebcf4bc02c2528e58ddcbe699b1d0601a50e1 /src/window.c
parent4cf115000289d10de3408e752b37128446dd261c (diff)
parent0fe97e838eab14723a4a38a773e2bc4d1494241e (diff)
Merge branch 'master' into unk_text_util_2
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index 164031bee..704060b9d 100644
--- a/src/window.c
+++ b/src/window.c
@@ -451,7 +451,7 @@ void FillWindowPixelRect(u8 windowId, u8 fillValue, u16 x, u16 y, u16 width, u16
FillBitmapRect4Bit(&pixelRect, x, y, width, height, fillValue);
}
-void CopyToWindowPixelBuffer(u8 windowId, u8 *src, u16 size, u16 tileOffset)
+void CopyToWindowPixelBuffer(u8 windowId, const u8 *src, u16 size, u16 tileOffset)
{
if (size != 0)
CpuCopy16(src, gWindows[windowId].tileData + (0x20 * tileOffset), size);