summaryrefslogtreecommitdiff
path: root/src/window_8bpp.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-03-16 12:33:46 -0400
committerGitHub <noreply@github.com>2020-03-16 12:33:46 -0400
commitf8915246a77a4453135ac3a4e6a61c098d557451 (patch)
tree86e1c2ea6ab19994fbdcb6e86b59071bb6c7c0cc /src/window_8bpp.c
parent2c7387951ba78349712d891ca71b55db4d0ec96e (diff)
parentdb3e992fc3de6a212752aa1a4148ee42414f2322 (diff)
Merge pull request #302 from PikalaxALT/pokemon_storage_system
Pokemon storage system
Diffstat (limited to 'src/window_8bpp.c')
-rw-r--r--src/window_8bpp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window_8bpp.c b/src/window_8bpp.c
index c58c13802..8977d61e4 100644
--- a/src/window_8bpp.c
+++ b/src/window_8bpp.c
@@ -13,7 +13,7 @@ static void nullsub_9(void)
{
}
-u16 AddWindow8Bit(struct WindowTemplate *template)
+u16 AddWindow8Bit(const struct WindowTemplate *template)
{
u16 windowId;
u8* memAddress;
@@ -81,7 +81,7 @@ void FillWindowPixelRect8Bit(u8 windowId, u8 fillValue, u16 x, u16 y, u16 width,
FillBitmapRect8Bit(&pixelRect, x, y, width, height, fillValue);
}
-void BlitBitmapRectToWindow4BitTo8Bit(u8 windowId, u8 *pixels, u16 srcX, u16 srcY, u16 srcWidth, int srcHeight, u16 destX, u16 destY, u16 rectWidth, u16 rectHeight, u8 paletteNum)
+void BlitBitmapRectToWindow4BitTo8Bit(u8 windowId, const u8 *pixels, u16 srcX, u16 srcY, u16 srcWidth, int srcHeight, u16 destX, u16 destY, u16 rectWidth, u16 rectHeight, u8 paletteNum)
{
struct Bitmap sourceRect;
struct Bitmap destRect;