summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2017-09-30 03:00:10 -0500
committerGitHub <noreply@github.com>2017-09-30 03:00:10 -0500
commit741c99cded03ceb2d924b52b5c44d68bc5901b17 (patch)
tree722c09a5712e65b460268a300b0799eeef6374fc /src/window.c
parentf09a6a653c2691865314a309266d4d6d82152fdc (diff)
parent4dad58648fe65b7df90da45972518222853b2e98 (diff)
Merge pull request #45 from DizzyEggg/decomp_battle4
Decompile Battle 4
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);